locallegacypeer: subclass the new `ipeerlegacycommands` Protocol class
authorMatt Harbison <matt_harbison@yahoo.com>
Tue, 18 Feb 2025 23:30:50 -0500
changeset 52994 c54cc1d7076c
parent 52993 53e9e3dfafeb
child 52995 1330278b9029
locallegacypeer: subclass the new `ipeerlegacycommands` Protocol class
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Tue Feb 18 23:29:52 2025 -0500
+++ b/mercurial/localrepo.py	Tue Feb 18 23:30:50 2025 -0500
@@ -459,7 +459,7 @@
     # End of peer interface.
 
 
-class locallegacypeer(localpeer):  # (repository.ipeerlegacycommands)
+class locallegacypeer(localpeer, repository.ipeerlegacycommands):
     """peer extension which implements legacy methods too; used for tests with
     restricted capabilities"""