statichttp: respect localrepo _restrictcapabilities
The static http repository was doing his own filtering of capability ignoring
the filtering done in the local repo main class. This led to static http using
the current draft of bundle2. We now apply both.
--- a/mercurial/statichttprepo.py Mon Apr 07 23:10:20 2014 +0200
+++ b/mercurial/statichttprepo.py Mon Apr 07 11:45:50 2014 -0700
@@ -143,6 +143,7 @@
self.decodepats = None
def _restrictcapabilities(self, caps):
+ caps = super(statichttprepository, self)._restrictcapabilities(caps)
return caps.difference(["pushkey"])
def url(self):