mercurial/httprepo.py
changeset 1870 8a8ab47cccde
parent 1736 50de0887bbcd
child 2015 1a09814a5b1f
equal deleted inserted replaced
1869:42c76ec7a8d4 1870:8a8ab47cccde
    65         urllib2.install_opener(opener)
    65         urllib2.install_opener(opener)
    66 
    66 
    67     def dev(self):
    67     def dev(self):
    68         return -1
    68         return -1
    69 
    69 
       
    70     def lock(self):
       
    71         raise util.Abort(_('operation not supported over http'))
       
    72 
    70     def do_cmd(self, cmd, **args):
    73     def do_cmd(self, cmd, **args):
    71         self.ui.debug(_("sending %s command\n") % cmd)
    74         self.ui.debug(_("sending %s command\n") % cmd)
    72         q = {"cmd": cmd}
    75         q = {"cmd": cmd}
    73         q.update(args)
    76         q.update(args)
    74         qs = urllib.urlencode(q)
    77         qs = urllib.urlencode(q)