[PATCH 3 of 6 V2] filemerge: drop extra white space

pierre-yves.david at ens-lyon.org pierre-yves.david at ens-lyon.org
Tue Aug 5 18:30:43 CDT 2014


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at fb.com>
# Date 1407276742 25200
#      Tue Aug 05 15:12:22 2014 -0700
# Node ID 4399f677c588e96fd760bbcaccb746bd01d0857b
# Parent  e6fa924a5144ddfeddd4a7c2e9b26af694eef53c
filemerge: drop extra white space

There should be no white space around the brace.

diff --git a/mercurial/filemerge.py b/mercurial/filemerge.py
--- a/mercurial/filemerge.py
+++ b/mercurial/filemerge.py
@@ -321,11 +321,11 @@ def _formatlabels(repo, fcd, fco, labels
     co = fco.changectx()
 
     ui = repo.ui
     template = ui.config('ui', 'mergemarkertemplate', _defaultconflictmarker)
     template = templater.parsestring(template, quoted=False)
-    tmpl = templater.templater(None, cache={ 'conflictmarker' : template })
+    tmpl = templater.templater(None, cache={'conflictmarker': template})
 
     pad = max(len(labels[0]), len(labels[1]))
 
     return [_formatconflictmarker(repo, cd, tmpl, labels[0], pad),
             _formatconflictmarker(repo, co, tmpl, labels[1], pad)]


More information about the Mercurial-devel mailing list