Mercurial > hg
changeset 17999:85027e98100b
clfilter: ensure changegroup generation is run unfiltered
Changegroup generation logic needs to be aware of the whole repository
to work properly.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Mon, 26 Nov 2012 19:23:25 +0100 |
parents | ec4c855d2033 |
children | f9459bcd25fc |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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