repoview: remove special casing of "requirements"
At the time this code was introduced (
3a6ddacb7198), the inline comment
was true. This changed in
e3a928bd1cd4. The proxy is no longer needed.
--- a/mercurial/repoview.py Wed Jun 07 19:32:16 2017 +0100
+++ b/mercurial/repoview.py Thu Jun 08 20:28:13 2017 -0700
@@ -243,10 +243,3 @@
def __delattr__(self, attr):
return delattr(self._unfilteredrepo, attr)
-
- # The `requirements` attribute is initialized during __init__. But
- # __getattr__ won't be called as it also exists on the class. We need
- # explicit forwarding to main repo here
- @property
- def requirements(self):
- return self._unfilteredrepo.requirements