# HG changeset patch # User Idan Kamara # Date 2011-07-25 12:08:37 # Node ID d3ac759a6d668bb473392f52748e37b167433c9b # Parent a710936c30372bdae50153c07f6a9269e8af45df localrepo: decorate changelog() with filecache diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -175,7 +175,7 @@ class localrepository(repo.repository): 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: