[PATCH 08 of 11 v2] localrepo: decorate manifest() with filecache
Idan Kamara
idankk86 at gmail.com
Mon Jul 25 07:09:15 CDT 2011
# HG changeset patch
# User Idan Kamara <idankk86 at gmail.com>
# Date 1311595717 -10800
# Node ID e8e811688286f5b881602483498660ee3a773ee2
# Parent a5b8322b9608a7f071541decf0b5f67546c2f74b
localrepo: decorate manifest() with filecache
diff -r a5b8322b9608 -r e8e811688286 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
@@ -184,7 +184,7 @@
c.readpending('00changelog.i.a')
return c
- @propertycache
+ @filecache('00manifest.i', True)
def manifest(self):
return manifest.manifest(self.sopener)
More information about the Mercurial-devel
mailing list