mercurial/httprepo.py
changeset 1870 8a8ab47cccde
parent 1736 50de0887bbcd
child 2015 1a09814a5b1f
--- a/mercurial/httprepo.py
+++ b/mercurial/httprepo.py
@@ -67,6 +67,9 @@ class httprepository(remoterepository):
     def dev(self):
         return -1
 
+    def lock(self):
+        raise util.Abort(_('operation not supported over http'))
+
     def do_cmd(self, cmd, **args):
         self.ui.debug(_("sending %s command\n") % cmd)
         q = {"cmd": cmd}