Show More
@@ -925,7 +925,7 b' def cleanupnode(ui, repo, name, nodes):' | |||
|
925 | 925 | # Find all node that need to be stripped |
|
926 | 926 | # (we hg %lr instead of %ln to silently ignore unknown item |
|
927 | 927 | nm = repo.changelog.nodemap |
|
928 |
nodes = |
|
|
928 | nodes = sorted(n for n in nodes if n in nm) | |
|
929 | 929 | roots = [c.node() for c in repo.set("roots(%ln)", nodes)] |
|
930 | 930 | for c in roots: |
|
931 | 931 | # We should process node in reverse order to strip tip most first. |
General Comments 0
You need to be logged in to leave comments.
Login now