clfilter: ensure changegroup generation is run unfiltered
Changegroup generation logic needs to be aware of the whole repository
to work properly.
--- a/mercurial/localrepo.py Mon Nov 26 19:21:24 2012 +0100
+++ b/mercurial/localrepo.py Mon Nov 26 19:23:25 2012 +0100
@@ -2085,6 +2085,7 @@
return self.getlocalbundle(source,
discovery.outgoing(cl, common, heads))
+ @unfilteredmeth
def _changegroupsubset(self, commonrevs, csets, heads, source):
cl = self.changelog
@@ -2196,6 +2197,7 @@
# to avoid a race we use changegroupsubset() (issue1320)
return self.changegroupsubset(basenodes, self.heads(), source)
+ @unfilteredmeth
def _changegroup(self, nodes, source):
"""Compute the changegroup of all nodes that we have that a recipient
doesn't. Return a chunkbuffer object whose read() method will return