Show More
@@ -688,11 +688,10 b' class localrepository(object):' | |||
|
688 | 688 | key = self.unfiltered().__class__ |
|
689 | 689 | if key not in self._filteredrepotypes: |
|
690 | 690 | # Build a new type with the repoview mixin and the base |
|
691 |
# class of this repo. |
|
|
692 | # filter name to aid debugging. | |
|
693 | bases = (repoview.repoview, key) | |
|
694 | cls = type(r'%sfilteredrepo' % name, bases, {}) | |
|
695 | self._filteredrepotypes[key] = cls | |
|
691 | # class of this repo. | |
|
692 | class filteredrepo(repoview.repoview, key): | |
|
693 | pass | |
|
694 | self._filteredrepotypes[key] = filteredrepo | |
|
696 | 695 | |
|
697 | 696 | return self._filteredrepotypes[key](self, name) |
|
698 | 697 |
General Comments 0
You need to be logged in to leave comments.
Login now