# HG changeset patch # User Matt Mackall # Date 1440016347 18000 # Node ID aabfa0fb7e3e45efbd559a2f46258eedeaff5bb5 # Parent 1ae898cfe857b5572e91024180e7d669d72228a0 copies: rename renamedelete to renamedeleteset for clarity diff -r 1ae898cfe857 -r aabfa0fb7e3e 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))