hgext/largefiles/proto.py
changeset 21084 70252bdfd39c
parent 19949 29f12a7a03ee
child 25079 bee00e0c2e45
--- a/hgext/largefiles/proto.py	Thu Apr 18 18:56:18 2013 +0200
+++ b/hgext/largefiles/proto.py	Tue Apr 08 00:48:36 2014 +0200
@@ -8,7 +8,6 @@
 import re
 
 from mercurial import error, httppeer, util, wireproto
-from mercurial.wireproto import batchable, future
 from mercurial.i18n import _
 
 import lfutil
@@ -135,9 +134,9 @@
                     self._abort(error.ResponseError(_("unexpected response:"),
                                                     chunk))
 
-        @batchable
+        @wireproto.batchable
         def statlfile(self, sha):
-            f = future()
+            f = wireproto.future()
             result = {'sha': sha}
             yield result, f
             try: