From 1e94780ad6d0647b5f02b53b5811870ed208f339 Mon Sep 17 00:00:00 2001 From: Gregory Szorc Date: Thu, 8 Jun 2017 20:28:13 -0700 Subject: [PATCH] repoview: remove special casing of "requirements" At the time this code was introduced (7d207cb7e38a), the inline comment was true. This changed in 2f304c7e2233. The proxy is no longer needed. --- mercurial/repoview.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/mercurial/repoview.py b/mercurial/repoview.py index 983d5dab61..0f03b0dc26 100644 --- a/mercurial/repoview.py +++ b/mercurial/repoview.py @@ -243,10 +243,3 @@ class repoview(object): 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