comparison mercurial/filemerge.py @ 21693:9c35f3a8cac4

merge: drop the quotes around commit description We already have a ":" after the user name to denote the start of the description. The current usage of quotes around the description is problematic as the truncation to 80 chars is likely to drop the closing quote. This may confuse syntax coloration in some editors.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Mon, 26 May 2014 11:44:58 -0700
parents 47b97d9af27e
children 755bf1bbe0a9
comparison
equal deleted inserted replaced
21692:5b2a2bea8cb6 21693:9c35f3a8cac4
296 296
297 _defaultconflictmarker = ('{node|short} ' + 297 _defaultconflictmarker = ('{node|short} ' +
298 '{ifeq(tags, "tip", "", "{tags} ")}' + 298 '{ifeq(tags, "tip", "", "{tags} ")}' +
299 '{if(bookmarks, "{bookmarks} ")}' + 299 '{if(bookmarks, "{bookmarks} ")}' +
300 '{ifeq(branch, "default", "", "{branch} ")}' + 300 '{ifeq(branch, "default", "", "{branch} ")}' +
301 '- {author|user}: "{desc|firstline}"') 301 '- {author|user}: {desc|firstline}')
302 302
303 _defaultconflictlabels = ['local', 'other'] 303 _defaultconflictlabels = ['local', 'other']
304 304
305 def _formatlabels(repo, fcd, fco, labels): 305 def _formatlabels(repo, fcd, fco, labels):
306 """Formats the given labels using the conflict marker template. 306 """Formats the given labels using the conflict marker template.