repoview: remove special casing of "requirements"
authorGregory Szorc <gregory.szorc@gmail.com>
Thu, 08 Jun 2017 20:28:13 -0700
changeset 32759 48d1e1214d8c
parent 32758 999aa9cfb4d3
child 32760 ae0ebe93ac70
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.
mercurial/repoview.py
--- 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