Mercurial > public > mercurial-scm > hg-stable
diff mercurial/statichttprepo.py @ 9146:5614a628d173
localrepo: rename in-memory tag cache instance attributes (issue548).
- self.tagscache to self._tags
- self._tagstypecache to self._tagtypes
- this is for consistency, readability, privacy, and to subtly hint
that "caching" is something else
author | Greg Ward <greg-hg@gerg.ca> |
---|---|
date | Thu, 16 Jul 2009 10:39:41 -0400 |
parents | e10e984bea46 |
children | 25e572394f5c |
line wrap: on
line diff
--- a/mercurial/statichttprepo.py Thu Jul 16 10:39:41 2009 -0400 +++ b/mercurial/statichttprepo.py Thu Jul 16 10:39:41 2009 -0400 @@ -114,7 +114,7 @@ self.manifest = manifest.manifest(self.sopener) self.changelog = changelog.changelog(self.sopener) - self.tagscache = None + self._tags = None self.nodetagscache = None self.encodepats = None self.decodepats = None