Mercurial > public > mercurial-scm > hg-stable
diff mercurial/unionrepo.py @ 40053:55db747a21ad
revlog: rename _cache to _revisioncache
"cache" is generic and revlog instances have multiple caches. Let's
be descriptive about what this is a cache for.
Differential Revision: https://phab.mercurial-scm.org/D4866
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 03 Oct 2018 10:32:21 -0700 |
parents | 39f51064e9f5 |
children | 3913223417ea |
line wrap: on
line diff
--- a/mercurial/unionrepo.py Wed Oct 03 10:56:48 2018 -0700 +++ b/mercurial/unionrepo.py Wed Oct 03 10:32:21 2018 -0700 @@ -110,7 +110,7 @@ if rev > self.repotiprev: text = self.revlog2.revision(node) - self._cache = (node, rev, text) + self._revisioncache = (node, rev, text) else: text = self.baserevision(rev) # already cached