##// END OF EJS Templates
phases: simplify revset in updatephases...
Boris Feld -
r39329:278eb454 default
parent child Browse files
Show More
@@ -599,8 +599,8 b' def updatephases(repo, trgetter, headsby'
599 # to update. This avoid creating empty transaction during no-op operation.
599 # to update. This avoid creating empty transaction during no-op operation.
600
600
601 for phase in allphases[:-1]:
601 for phase in allphases[:-1]:
602 revset = '%%ln - _phase(%d)' % phase
602 revset = '%ln - _phase(%s)'
603 heads = [c.node() for c in repo.set(revset, headsbyphase[phase])]
603 heads = [c.node() for c in repo.set(revset, headsbyphase[phase], phase)]
604 if heads:
604 if heads:
605 advanceboundary(repo, trgetter(), phase, heads)
605 advanceboundary(repo, trgetter(), phase, heads)
606
606
General Comments 0
You need to be logged in to leave comments. Login now