diff mercurial/localrepo.py @ 52996:c54cc1d7076c

locallegacypeer: subclass the new `ipeerlegacycommands` Protocol class
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 18 Feb 2025 23:30:50 -0500
parents 53e9e3dfafeb
children
line wrap: on
line diff
--- 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"""