clfilter: strip logic should be unfiltered
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Mon, 08 Oct 2012 17:12:09 +0200
changeset 18004 747a2f43d5d9
parent 18003 e1e181a64de7
child 18005 aba3c161bcc6
clfilter: strip logic should be unfiltered Strip is a "write" operation that needs to be aware of the whole repo's content before destroying changesets. Only the low level function is altered. The top level command will still process its argument filtered (if any filtering is in place).
mercurial/repair.py
--- a/mercurial/repair.py	Mon Oct 08 17:08:52 2012 +0200
+++ b/mercurial/repair.py	Mon Oct 08 17:12:09 2012 +0200
@@ -56,6 +56,7 @@
     return s
 
 def strip(ui, repo, nodelist, backup="all", topic='backup'):
+    repo = repo.unfiltered()
     # It simplifies the logic around updating the branchheads cache if we only
     # have to consider the effect of the stripped revisions and not revisions
     # missing because the cache is out-of-date.