##// END OF EJS Templates
phases: remove underbar into target_phase argument
Pierre-Yves David -
r15480:7d4f364c default
parent child Browse files
Show More
@@ -58,13 +58,13 b' def filterunknown(repo, phaseroots=None)'
58 nodes.symmetric_difference_update(missing)
58 nodes.symmetric_difference_update(missing)
59 repo._dirtyphases = True
59 repo._dirtyphases = True
60
60
61 def moveboundary(repo, target_phase, nodes):
61 def moveboundary(repo, targetphase, nodes):
62 """Add nodes to a phase changing other nodes phases if necessary.
62 """Add nodes to a phase changing other nodes phases if necessary.
63
63
64 Simplify boundary to contains phase roots only."""
64 Simplify boundary to contains phase roots only."""
65
65
66 # move roots of lower states
66 # move roots of lower states
67 for phase in xrange(target_phase + 1, len(allphases)):
67 for phase in xrange(targetphase + 1, len(allphases)):
68 # filter nodes that are not in a compatible phase already
68 # filter nodes that are not in a compatible phase already
69 # XXX rev phase cache might have been invalidated by a previous loop
69 # XXX rev phase cache might have been invalidated by a previous loop
70 # XXX we need to be smarter here
70 # XXX we need to be smarter here
General Comments 0
You need to be logged in to leave comments. Login now