--- a/mercurial/sshpeer.py Sat Dec 03 03:45:39 2022 +0100 +++ b/mercurial/sshpeer.py Sat Dec 03 03:45:45 2022 +0100 @@ -416,9 +416,6 @@ def local(self): return None - def peer(self): - return self - def canpush(self): return True