diff -r f913e90f15a0 -r dedab036215d mercurial/httppeer.py --- a/mercurial/httppeer.py Sun Aug 06 18:00:19 2017 -0700 +++ b/mercurial/httppeer.py Thu Aug 10 20:58:28 2017 -0700 @@ -21,7 +21,6 @@ error, httpconnection, pycompat, - repository, statichttprepo, url, util, @@ -87,7 +86,7 @@ resp.__class__ = readerproxy -class httppeer(wireproto.wirepeer, repository.legacypeer): +class httppeer(wireproto.wirepeer): def __init__(self, ui, path): self._path = path self._caps = None @@ -107,9 +106,6 @@ self._urlopener = url.opener(ui, authinfo) self._requestbuilder = urlreq.request - # TODO remove once peerrepository isn't in inheritance. - self._capabilities = self.capabilities - def __del__(self): urlopener = getattr(self, '_urlopener', None) if urlopener: