mercurial/statichttprepo.py
changeset 33389 7e89bd0cfb86
parent 32730 b8ff7d0ff361
child 33533 4133c0b0fcd7
--- a/mercurial/statichttprepo.py	Tue Jul 11 02:10:04 2017 +0900
+++ b/mercurial/statichttprepo.py	Sat Jul 01 20:51:19 2017 -0700
@@ -165,6 +165,8 @@
         self.encodepats = None
         self.decodepats = None
         self._transref = None
+        # Cache of types representing filtered repos.
+        self._filteredrepotypes = {}
 
     def _restrictcapabilities(self, caps):
         caps = super(statichttprepository, self)._restrictcapabilities(caps)