diff --git a/mercurial/logcmdutil.py b/mercurial/logcmdutil.py --- a/mercurial/logcmdutil.py +++ b/mercurial/logcmdutil.py @@ -416,7 +416,7 @@ self.ui.write(b"\n\n") else: self.ui.write( - columns[b'summary'] % description.splitlines()[0], + columns[b'summary'] % stringutil.firstline(description), label=b'log.summary', ) self.ui.write(b"\n")