mercurial/statichttprepo.py
changeset 7005 7739b61897df
parent 6988 907e4e9bd3c4
child 7179 3d080733a339
--- a/mercurial/statichttprepo.py	Mon Sep 08 00:50:34 2008 +0200
+++ b/mercurial/statichttprepo.py	Mon Sep 08 11:32:53 2008 +0200
@@ -74,6 +74,9 @@
     def local(self):
         return False
 
+    def lock(self, wait=True):
+        raise util.Abort(_('cannot lock static-http repository'))
+
 def instance(ui, path, create):
     if create:
         raise util.Abort(_('cannot create new static-http repository'))