diff contrib/perf.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 e872ef2e6758
children d768614578dd
line wrap: on
line diff
--- a/contrib/perf.py	Thu Jul 16 10:39:41 2009 -0400
+++ b/contrib/perf.py	Thu Jul 16 10:39:41 2009 -0400
@@ -51,7 +51,7 @@
     def t():
         repo.changelog = mercurial.changelog.changelog(repo.sopener)
         repo.manifest = mercurial.manifest.manifest(repo.sopener)
-        repo.tagscache = None
+        repo._tags = None
         return len(repo.tags())
     timer(t)