Skip to content
Snippets Groups Projects
Commit d4ad9d69 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

repoview: include filter name in repr for debugging

parent c752fbe2
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@
from . import (
obsolete,
phases,
pycompat,
tags as tagsmod,
)
......@@ -232,6 +233,11 @@
return self
return self.unfiltered().filtered(name)
def __repr__(self):
return r'<%s:%s %r>' % (self.__class__.__name__,
pycompat.sysstr(self.filtername),
self.unfiltered())
# everything access are forwarded to the proxied repo
def __getattr__(self, attr):
return getattr(self._unfilteredrepo, attr)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment