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 |
|
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 |
|
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