changeset 32759:48d1e1214d8c

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.
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 08 Jun 2017 20:28:13 -0700
parents 999aa9cfb4d3
children ae0ebe93ac70
files mercurial/repoview.py
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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