# HG changeset patch # User mason@suse.com # Date 1139526440 21600 # Node ID 8959700c2b197918eda25a9cf8b9626baf370150 # Parent c65113f3627aaaa44c76495800c1940843109163 revlog.strip should clear the chunkcache The chunkcache isn't valid after a strip, it needs to be cleared out. diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -828,6 +828,7 @@ class revlog(object): # then reset internal state in memory to forget those revisions self.cache = None + self.chunkcache = None for p in self.index[rev:]: del self.nodemap[p[6]] del self.index[rev:]