localrepo: remove unused requirements attributes on localpeer (API)
The previous changeset removed the last consumer of requirements. I'm
not sure when supportedformats became unused. But I couldn't find
any obvious instances where it is being used. It likely stems from
peers being derived from repository instances several years ago and
is a holdover from that day.
Differential Revision: https://phab.mercurial-scm.org/D266
--- a/mercurial/localrepo.py Sat Aug 05 15:15:20 2017 -0700
+++ b/mercurial/localrepo.py Mon Aug 07 20:17:02 2017 -0700
@@ -154,8 +154,6 @@
self._repo = repo.filtered('served')
self.ui = repo.ui
self._caps = repo._restrictcapabilities(caps)
- self.requirements = repo.requirements
- self.supportedformats = repo.supportedformats
def close(self):
self._repo.close()