--- a/mercurial/sshpeer.py Tue Feb 06 11:08:36 2018 -0800
+++ b/mercurial/sshpeer.py Tue Feb 06 10:57:56 2018 -0800
@@ -328,7 +328,7 @@
return caps
-class sshpeer(wireproto.wirepeer):
+class sshv1peer(wireproto.wirepeer):
def __init__(self, ui, url, proc, stdin, stdout, stderr, caps):
"""Create a peer from an existing SSH connection.
@@ -537,4 +537,4 @@
_cleanuppipes(ui, stdout, stdin, stderr)
raise
- return sshpeer(ui, path, proc, stdin, stdout, stderr, caps)
+ return sshv1peer(ui, path, proc, stdin, stdout, stderr, caps)