Mercurial > hg
changeset 18004:747a2f43d5d9
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).
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Mon, 08 Oct 2012 17:12:09 +0200 |
parents | e1e181a64de7 |
children | aba3c161bcc6 |
files | mercurial/repair.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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.