hgext/largefiles/proto.py
changeset 37614 a81d02ea65db
parent 37484 c22fd3c4c23e
child 41062 0a7f582f6f1f
--- a/hgext/largefiles/proto.py	Wed Apr 11 10:51:38 2018 -0700
+++ b/hgext/largefiles/proto.py	Wed Apr 11 12:49:08 2018 -0700
@@ -13,8 +13,8 @@
     error,
     httppeer,
     util,
-    wireproto,
     wireprototypes,
+    wireprotov1peer,
 )
 
 from . import (
@@ -145,9 +145,9 @@
                     self._abort(error.ResponseError(_("unexpected response:"),
                                                     chunk))
 
-        @wireproto.batchable
+        @wireprotov1peer.batchable
         def statlfile(self, sha):
-            f = wireproto.future()
+            f = wireprotov1peer.future()
             result = {'sha': sha}
             yield result, f
             try: