Show More
@@ -1603,11 +1603,8 b' def cleanupnode(ui, repo, nodes):' | |||||
1603 | nm = repo.changelog.nodemap |
|
1603 | nm = repo.changelog.nodemap | |
1604 | nodes = sorted(n for n in nodes if n in nm) |
|
1604 | nodes = sorted(n for n in nodes if n in nm) | |
1605 | roots = [c.node() for c in repo.set("roots(%ln)", nodes)] |
|
1605 | roots = [c.node() for c in repo.set("roots(%ln)", nodes)] | |
1606 |
|
|
1606 | if roots: | |
1607 | # We should process node in reverse order to strip tip most first. |
|
1607 | repair.strip(ui, repo, roots) | |
1608 | # but this trigger a bug in changegroup hook. |
|
|||
1609 | # This would reduce bundle overhead |
|
|||
1610 | repair.strip(ui, repo, c) |
|
|||
1611 |
|
1608 | |||
1612 | def safecleanupnode(ui, repo, nodes): |
|
1609 | def safecleanupnode(ui, repo, nodes): | |
1613 | """strip or obsolete nodes |
|
1610 | """strip or obsolete nodes |
General Comments 0
You need to be logged in to leave comments.
Login now