diff mercurial/statichttprepo.py @ 14929:4bf9493e7b07

localrepo: add a cache with stat info for files under .hg/
author Idan Kamara <idankk86@gmail.com>
date Mon, 25 Jul 2011 15:08:37 +0300
parents 28682c7e7479
children 1c917bc66ccc
line wrap: on
line diff
--- a/mercurial/statichttprepo.py	Sat Jul 09 19:06:59 2011 +0300
+++ b/mercurial/statichttprepo.py	Mon Jul 25 15:08:37 2011 +0300
@@ -125,6 +125,7 @@
         self.encodepats = None
         self.decodepats = None
         self.capabilities.difference_update(["pushkey"])
+        self._filecache = {}
 
     def url(self):
         return self._url