Mercurial > hg
changeset 33703:da3087b8f4a2
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
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 07 Aug 2017 20:17:02 -0700 |
parents | 033484935391 |
children | c0b317cfecc8 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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()