equal
deleted
inserted
replaced
597 # |
597 # |
598 # run the update (and fetch transaction) only if there are actually things |
598 # run the update (and fetch transaction) only if there are actually things |
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 |
607 def analyzeremotephases(repo, subset, roots): |
607 def analyzeremotephases(repo, subset, roots): |
608 """Compute phases heads and root in a subset of node from root dict |
608 """Compute phases heads and root in a subset of node from root dict |