mercurial/httprepo.py
changeset 2439 e8c4f3d3df8c
parent 2435 ff2bac730b99
child 2442 c660691fb45d
--- a/mercurial/httprepo.py	Thu Jun 15 13:27:57 2006 -0700
+++ b/mercurial/httprepo.py	Thu Jun 15 16:37:23 2006 -0700
@@ -71,6 +71,7 @@
 
 class httprepository(remoterepository):
     def __init__(self, ui, path):
+        self.capabilities = ()
         scheme, netloc, urlpath, query, frag = urlparse.urlsplit(path)
         if query or frag:
             raise util.Abort(_('unsupported URL component: "%s"') %
@@ -234,5 +235,8 @@
 
         return util.chunkbuffer(zgenerator(util.filechunkiter(f)))
 
+    def unbundle(self, cg, heads, source):
+        raise util.Abort(_('operation not supported over http'))
+
 class httpsrepository(httprepository):
     pass