hgext/largefiles/remotestore.py
changeset 21084 70252bdfd39c
parent 20688 a61ed1c2d7a7
child 25079 bee00e0c2e45
equal deleted inserted replaced
21083:20b0c49c032c 21084:70252bdfd39c
     6 
     6 
     7 '''remote largefile store; the base class for wirestore'''
     7 '''remote largefile store; the base class for wirestore'''
     8 
     8 
     9 import urllib2
     9 import urllib2
    10 
    10 
    11 from mercurial import util
    11 from mercurial import util, wireproto
    12 from mercurial.i18n import _
    12 from mercurial.i18n import _
    13 from mercurial.wireproto import remotebatch
       
    14 
    13 
    15 import lfutil
    14 import lfutil
    16 import basestore
    15 import basestore
    17 
    16 
    18 class remotestore(basestore.basestore):
    17 class remotestore(basestore.basestore):
    95             raise RuntimeError('verify failed: unexpected response from '
    94             raise RuntimeError('verify failed: unexpected response from '
    96                                'statlfile (%r)' % stat)
    95                                'statlfile (%r)' % stat)
    97 
    96 
    98     def batch(self):
    97     def batch(self):
    99         '''Support for remote batching.'''
    98         '''Support for remote batching.'''
   100         return remotebatch(self)
    99         return wireproto.remotebatch(self)