mercurial/httprepo.py
branchstable
changeset 12969 6bd9778ae749
parent 12062 c327bfa5e831
child 13006 ea68947ad0ce
equal deleted inserted replaced
12967:70b043405400 12969:6bd9778ae749
    66 
    66 
    67     def lock(self):
    67     def lock(self):
    68         raise util.Abort(_('operation not supported over http'))
    68         raise util.Abort(_('operation not supported over http'))
    69 
    69 
    70     def _callstream(self, cmd, **args):
    70     def _callstream(self, cmd, **args):
       
    71         if cmd is 'pushkey':
       
    72             args['data'] = ''
    71         data = args.pop('data', None)
    73         data = args.pop('data', None)
    72         headers = args.pop('headers', {})
    74         headers = args.pop('headers', {})
    73         self.ui.debug("sending %s command\n" % cmd)
    75         self.ui.debug("sending %s command\n" % cmd)
    74         q = {"cmd": cmd}
    76         q = {"cmd": cmd}
    75         q.update(args)
    77         q.update(args)