diff mercurial/merge.py @ 34486:a57c938e7ac8

style: never use a space before a colon or comma Differential Revision: https://phab.mercurial-scm.org/D954
author Alex Gaynor <agaynor@mozilla.com>
date Fri, 29 Sep 2017 15:48:34 +0000
parents 99c3dee3f6ce
children bed1d2eaa108
line wrap: on
line diff
--- a/mercurial/merge.py	Mon Oct 02 19:25:11 2017 -0700
+++ b/mercurial/merge.py	Fri Sep 29 15:48:34 2017 +0000
@@ -419,7 +419,7 @@
                            fca.path(), hex(fca.filenode()),
                            fco.path(), hex(fco.filenode()),
                            fcl.flags()]
-        self._stateextras[fd] = { 'ancestorlinknode' : hex(fca.node()) }
+        self._stateextras[fd] = {'ancestorlinknode': hex(fca.node())}
         self._dirty = True
 
     def __contains__(self, dfile):
@@ -864,7 +864,7 @@
                 fla = ma.flags(f)
                 nol = 'l' not in fl1 + fl2 + fla
                 if n2 == a and fl2 == fla:
-                    actions[f] = ('k' , (), "remote unchanged")
+                    actions[f] = ('k', (), "remote unchanged")
                 elif n1 == a and fl1 == fla: # local unchanged - use remote
                     if n1 == n2: # optimization: keep local content
                         actions[f] = ('e', (fl2,), "update permissions")