Mercurial > public > mercurial-scm > hg-stable
diff mercurial/changelog.py @ 16619:bc84a1aeaf5a stable
changelog: ensure that nodecache is valid (issue3428)
This ensures that an out-of-process hook can see an incoming changegroup.
author | Bryan O'Sullivan <bryano@fb.com> |
---|---|
date | Fri, 11 May 2012 01:55:33 -0700 |
parents | aa6821a7b52f |
children | 62c56c94c77e |
line wrap: on
line diff
--- a/mercurial/changelog.py Tue May 08 23:59:39 2012 +0400 +++ b/mercurial/changelog.py Fri May 11 01:55:33 2012 -0700 @@ -153,6 +153,7 @@ r = revlog.revlog(self.opener, file) self.index = r.index self.nodemap = r.nodemap + self._nodecache = r._nodecache self._chunkcache = r._chunkcache def writepending(self):