phases: remove underbar into target_phase argument
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Thu, 10 Nov 2011 01:08:08 +0100
changeset 15480 7d4f364c980b
parent 15479 1bb0a5b02da9
child 15481 0b7ce2f739fb
phases: remove underbar into target_phase argument
mercurial/phases.py
--- 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