##// END OF EJS Templates
repoview: do not include filter name in name of proxy class...
Yuya Nishihara -
r35247:9ce4e01f default
parent child Browse files
Show More
@@ -688,11 +688,10 b' class localrepository(object):'
688 key = self.unfiltered().__class__
688 key = self.unfiltered().__class__
689 if key not in self._filteredrepotypes:
689 if key not in self._filteredrepotypes:
690 # Build a new type with the repoview mixin and the base
690 # Build a new type with the repoview mixin and the base
691 # class of this repo. Give it a name containing the
691 # class of this repo.
692 # filter name to aid debugging.
692 class filteredrepo(repoview.repoview, key):
693 bases = (repoview.repoview, key)
693 pass
694 cls = type(r'%sfilteredrepo' % name, bases, {})
694 self._filteredrepotypes[key] = filteredrepo
695 self._filteredrepotypes[key] = cls
696
695
697 return self._filteredrepotypes[key](self, name)
696 return self._filteredrepotypes[key](self, name)
698
697
General Comments 0
You need to be logged in to leave comments. Login now