Mercurial > public > mercurial-scm > hg
diff mercurial/interfaces/repository.py @ 52462:fb3144d35361
interfaces: drop the unused `ipeerv2`
I couldn't find a reference to `apidescriptor` anywhere, and it turns out the
rest of the code added with this back in dac438b7346e was abandoned and removed
in 04688c51f81f.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 10 Dec 2024 17:31:17 -0500 |
parents | c1674551c109 |
children | 0cfcc276b796 |
line wrap: on
line diff
--- a/mercurial/interfaces/repository.py Fri Dec 13 23:55:08 2024 +0000 +++ b/mercurial/interfaces/repository.py Tue Dec 10 17:31:17 2024 -0500 @@ -390,14 +390,6 @@ """ -class ipeerv2(ipeerconnection, ipeercapabilities, ipeerrequests): - """Unified peer interface for wire protocol version 2 peers.""" - - apidescriptor = interfaceutil.Attribute( - """Data structure holding description of server API.""" - ) - - @interfaceutil.implementer(ipeerbase) class peer: """Base class for peer repositories."""