Mercurial > hg
diff mercurial/phases.py @ 15480:7d4f364c980b
phases: remove underbar into target_phase argument
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Thu, 10 Nov 2011 01:08:08 +0100 |
parents | abcaaf51d568 |
children | 0b7ce2f739fb |
line wrap: on
line diff
--- 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