[PATCH] repoview: remove special casing of "requirements"
Gregory Szorc
gregory.szorc at gmail.com
Fri Jun 9 06:28:14 UTC 2017
# HG changeset patch
# User Gregory Szorc <gregory.szorc at gmail.com>
# Date 1496978893 25200
# Thu Jun 08 20:28:13 2017 -0700
# Node ID e583b786ffba99cb775cf9d3a126cf50db74f85a
# Parent e1a094a7815f3d906374ff2fe06296cbeaf89fcb
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.
diff --git a/mercurial/repoview.py b/mercurial/repoview.py
--- 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
More information about the Mercurial-devel
mailing list