changeset 21864 | 755bf1bbe0a9 |
parent 21693 | 9c35f3a8cac4 |
child 21865 | 78e56e70c70a |
--- a/mercurial/filemerge.py Sun Jul 06 02:56:41 2014 +0900 +++ b/mercurial/filemerge.py Sun Jul 06 02:56:41 2014 +0900 @@ -287,6 +287,9 @@ label = ('%s:' % label).ljust(pad + 1) mark = '%s %s' % (label, templater.stringify(templateresult)) + if mark: + mark = mark.splitlines()[0] # split for safety + # The <<< marks add 8 to the length, and '...' adds three, so max # length of the actual marker is 69. maxlength = 80 - 8 - 3