##// END OF EJS Templates
filemerge: optionally strip quotes from merge marker template (BC)...
Yuya Nishihara -
r32047:458f7294 default
parent child Browse files
Show More
@@ -543,6 +543,7 def _formatlabels(repo, fcd, fco, fca, l
543
543
544 ui = repo.ui
544 ui = repo.ui
545 template = ui.config('ui', 'mergemarkertemplate', _defaultconflictmarker)
545 template = ui.config('ui', 'mergemarkertemplate', _defaultconflictmarker)
546 template = templater.unquotestring(template)
546 tmpl = formatter.maketemplater(ui, 'conflictmarker', template)
547 tmpl = formatter.maketemplater(ui, 'conflictmarker', template)
547
548
548 pad = max(len(l) for l in labels)
549 pad = max(len(l) for l in labels)
@@ -65,7 +65,10
65 Verify custom conflict markers
65 Verify custom conflict markers
66
66
67 $ hg up -q --clean .
67 $ hg up -q --clean .
68 $ printf "\n[ui]\nmergemarkertemplate={author} {rev}\n" >> .hg/hgrc
68 $ cat <<EOF >> .hg/hgrc
69 > [ui]
70 > mergemarkertemplate = '{author} {rev}'
71 > EOF
69
72
70 $ hg merge 1
73 $ hg merge 1
71 merging a
74 merging a
General Comments 0
You need to be logged in to leave comments. Login now