hgext/largefiles/uisetup.py
changeset 35977 625038cb4b1d
parent 35564 cf841f2b5a72
child 35983 f540b6448738
--- a/hgext/largefiles/uisetup.py	Tue Feb 06 11:08:36 2018 -0800
+++ b/hgext/largefiles/uisetup.py	Tue Feb 06 10:57:56 2018 -0800
@@ -185,9 +185,9 @@
 
     # can't do this in reposetup because it needs to have happened before
     # wirerepo.__init__ is called
-    proto.ssholdcallstream = sshpeer.sshpeer._callstream
+    proto.ssholdcallstream = sshpeer.sshv1peer._callstream
     proto.httpoldcallstream = httppeer.httppeer._callstream
-    sshpeer.sshpeer._callstream = proto.sshrepocallstream
+    sshpeer.sshv1peer._callstream = proto.sshrepocallstream
     httppeer.httppeer._callstream = proto.httprepocallstream
 
     # override some extensions' stuff as well