mercurial/phases.py
changeset 15480 7d4f364c980b
parent 15456 abcaaf51d568
child 15481 0b7ce2f739fb
--- a/mercurial/phases.py	Thu Nov 10 17:06:30 2011 -0600
+++ b/mercurial/phases.py	Thu Nov 10 01:08:08 2011 +0100
@@ -58,13 +58,13 @@
             nodes.symmetric_difference_update(missing)
             repo._dirtyphases = True
 
-def moveboundary(repo, target_phase, nodes):
+def moveboundary(repo, targetphase, nodes):
     """Add nodes to a phase changing other nodes phases if necessary.
 
     Simplify boundary to contains phase roots only."""
 
     # move roots of lower states
-    for phase in xrange(target_phase + 1, len(allphases)):
+    for phase in xrange(targetphase + 1, len(allphases)):
         # filter nodes that are not in a compatible phase already
         # XXX rev phase cache might have been invalidated by a previous loop
         # XXX we need to be smarter here