Mercurial > hg
changeset 1711:8959700c2b19
revlog.strip should clear the chunkcache
The chunkcache isn't valid after a strip, it needs to be cleared out.
author | mason@suse.com |
---|---|
date | Thu, 09 Feb 2006 17:07:20 -0600 |
parents | c65113f3627a |
children | 21dcf38e5d7d |
files | mercurial/revlog.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revlog.py Thu Feb 09 09:07:19 2006 +0100 +++ b/mercurial/revlog.py Thu Feb 09 17:07:20 2006 -0600 @@ -828,6 +828,7 @@ # 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:]