changeset 26658:aabfa0fb7e3e

copies: rename renamedelete to renamedeleteset for clarity
author Matt Mackall <mpm@selenic.com>
date Wed, 19 Aug 2015 15:32:27 -0500
parents 1ae898cfe857
children df66736a128e
files mercurial/copies.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/copies.py	Wed Aug 19 15:26:08 2015 -0500
+++ b/mercurial/copies.py	Wed Aug 19 15:32:27 2015 -0500
@@ -338,7 +338,7 @@
     fullcopy = dict(fullcopy1.items() + fullcopy2.items())
 
     renamedelete = {}
-    renamedelete2 = set()
+    renamedeleteset = set()
     divergeset = set()
     for of, fl in diverge.items():
         if len(fl) == 1 or of in c1 or of in c2:
@@ -347,7 +347,7 @@
                 # renamed on one side, deleted on the other side, but filter
                 # out files that have been renamed and then deleted
                 renamedelete[of] = [f for f in fl if f in c1 or f in c2]
-                renamedelete2.update(fl) # reverse map for below
+                renamedeleteset.update(fl) # reverse map for below
         else:
             divergeset.update(fl) # reverse map for below
 
@@ -372,7 +372,7 @@
                 note += "*"
             if f in divergeset:
                 note += "!"
-            if f in renamedelete2:
+            if f in renamedeleteset:
                 note += "%"
             repo.ui.debug("   src: '%s' -> dst: '%s' %s\n" % (fullcopy[f], f,
                                                               note))