##// END OF EJS Templates
repoview: include filter name in repr for debugging
Yuya Nishihara -
r35249:d4ad9d69 default
parent child Browse files
Show More
@@ -15,6 +15,7 b' from .node import nullrev'
15 15 from . import (
16 16 obsolete,
17 17 phases,
18 pycompat,
18 19 tags as tagsmod,
19 20 )
20 21
@@ -232,6 +233,11 b' class repoview(object):'
232 233 return self
233 234 return self.unfiltered().filtered(name)
234 235
236 def __repr__(self):
237 return r'<%s:%s %r>' % (self.__class__.__name__,
238 pycompat.sysstr(self.filtername),
239 self.unfiltered())
240
235 241 # everything access are forwarded to the proxied repo
236 242 def __getattr__(self, attr):
237 243 return getattr(self._unfilteredrepo, attr)
General Comments 0
You need to be logged in to leave comments. Login now