Mercurial > hg
comparison tests/test-notify.out @ 9820:0b999aec64e8
bundle: don't send too many changesets (Issue1704)
The fast path in changegroupsubset can send too many csets. This happens
because it uses the parents of all bases as common nodes and then goes
forward from this again. If a base has a parent that has another child,
which is -not- a base, then this other child will nevertheless end up in
the changegroup.
The fix is to not use findmissing(), but use nodesbetween() instead, as
do the slow path and incoming/outgoing.
The change to test-notify.out is correct, because it actually hits this
bug, as can be seen by glog'ing the two repos:
@ 22c88
|\
| o 0a184
| |
o | 0647d
|/
o cb9a9
and
o 0647d
|
@ cb9a9
It used to pull 0647d again, which is unnecessary.
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Sat, 07 Nov 2009 12:28:30 +0100 |
parents | a3d73b3e1f8a |
children | 703db37d186b |
comparison
equal
deleted
inserted
replaced
9818:72d670c43f6e | 9820:0b999aec64e8 |
---|---|
172 pulling from ../a | 172 pulling from ../a |
173 searching for changes | 173 searching for changes |
174 adding changesets | 174 adding changesets |
175 adding manifests | 175 adding manifests |
176 adding file changes | 176 adding file changes |
177 added 2 changesets with 0 changes to 1 files | 177 added 2 changesets with 0 changes to 0 files |
178 Content-Type: text/plain; charset="us-ascii" | 178 Content-Type: text/plain; charset="us-ascii" |
179 MIME-Version: 1.0 | 179 MIME-Version: 1.0 |
180 Content-Transfer-Encoding: 7bit | 180 Content-Transfer-Encoding: 7bit |
181 X-Test: foo | 181 X-Test: foo |
182 Date: | 182 Date: |