clfilter: ensure changegroup generation is run unfiltered
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Mon, 26 Nov 2012 19:23:25 +0100
changeset 17999 85027e98100b
parent 17998 ec4c855d2033
child 18000 f9459bcd25fc
clfilter: ensure changegroup generation is run unfiltered Changegroup generation logic needs to be aware of the whole repository to work properly.
mercurial/localrepo.py
--- 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