localrepo: decorate changelog() with filecache
authorIdan Kamara <idankk86@gmail.com>
Mon, 25 Jul 2011 15:08:37 +0300
changeset 14932 d3ac759a6d66
parent 14931 a710936c3037
child 14933 f61a85b2affa
localrepo: decorate changelog() with filecache
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Mon Jul 25 15:08:37 2011 +0300
+++ b/mercurial/localrepo.py	Mon Jul 25 15:08:37 2011 +0300
@@ -175,7 +175,7 @@
     def _bookmarkcurrent(self):
         return bookmarks.readcurrent(self)
 
-    @propertycache
+    @filecache('00changelog.i', True)
     def changelog(self):
         c = changelog.changelog(self.sopener)
         if 'HG_PENDING' in os.environ: