Show More
@@ -99,9 +99,9 b' def strip(ui, repo, nodelist, backup=Tru' | |||||
99 | # (head = revision in the set that has no descendant in the set; |
|
99 | # (head = revision in the set that has no descendant in the set; | |
100 | # base = revision in the set that has no ancestor in the set) |
|
100 | # base = revision in the set that has no ancestor in the set) | |
101 | tostrip = set(striplist) |
|
101 | tostrip = set(striplist) | |
102 | for rev in striplist: |
|
102 | for r in cl.revs(start=striprev + 1): | |
103 | for desc in cl.descendants([rev]): |
|
103 | if any(p in tostrip for p in cl.parentrevs(r)): | |
104 |
tostrip.add( |
|
104 | tostrip.add(r) | |
105 |
|
105 | |||
106 | files = _collectfiles(repo, striprev) |
|
106 | files = _collectfiles(repo, striprev) | |
107 | saverevs = _collectbrokencsets(repo, files, striprev) |
|
107 | saverevs = _collectbrokencsets(repo, files, striprev) |
General Comments 0
You need to be logged in to leave comments.
Login now