copies: rename renamedelete to renamedeleteset for clarity
authorMatt Mackall <mpm@selenic.com>
Wed, 19 Aug 2015 15:32:27 -0500
changeset 26658 aabfa0fb7e3e
parent 26657 1ae898cfe857
child 26659 df66736a128e
copies: rename renamedelete to renamedeleteset for clarity
mercurial/copies.py
--- 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))