Mercurial > hg > mercurial-source
comparison tests/test-http-clone-r.t @ 13742:7abab875e647
discovery: avoid discovery when local graph is a subset of remote
Immediately sends local's heads to the server to check whether the server knows them all.
If it does, we can call getbundle immediately.
Interesting test output changes are:
- added 1 changesets with 0 changes to 1 files (+1 heads)
+ added 1 changesets with 0 changes to 0 files (+1 heads)
-> The new getbundle() actually fixes a bug vs. changegroupsubset() in that it no longer
returns unnecessary files when file revs are reused.
warning: repository is unrelated
+ requesting all changes
-> The new use of common instead of bases correctly indicates that an unrelated pull
gets all changes from the server.
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Wed, 23 Mar 2011 16:06:55 +0100 |
parents | b00eda50ad2b |
children | 07708f4171f1 |
comparison
equal
deleted
inserted
replaced
13741:b51bf961b3cb | 13742:7abab875e647 |
---|---|
212 pulling from http://localhost:$HGPORT/ | 212 pulling from http://localhost:$HGPORT/ |
213 searching for changes | 213 searching for changes |
214 adding changesets | 214 adding changesets |
215 adding manifests | 215 adding manifests |
216 adding file changes | 216 adding file changes |
217 added 1 changesets with 0 changes to 1 files (+1 heads) | 217 added 1 changesets with 0 changes to 0 files (+1 heads) |
218 (run 'hg heads' to see heads, 'hg merge' to merge) | 218 (run 'hg heads' to see heads, 'hg merge' to merge) |
219 $ hg verify | 219 $ hg verify |
220 checking changesets | 220 checking changesets |
221 checking manifests | 221 checking manifests |
222 crosschecking files in changesets and manifests | 222 crosschecking files in changesets and manifests |
236 pulling from http://localhost:$HGPORT/ | 236 pulling from http://localhost:$HGPORT/ |
237 searching for changes | 237 searching for changes |
238 adding changesets | 238 adding changesets |
239 adding manifests | 239 adding manifests |
240 adding file changes | 240 adding file changes |
241 added 2 changesets with 0 changes to 1 files (+1 heads) | 241 added 2 changesets with 0 changes to 0 files (+1 heads) |
242 (run 'hg heads' to see heads, 'hg merge' to merge) | 242 (run 'hg heads' to see heads, 'hg merge' to merge) |
243 $ hg verify | 243 $ hg verify |
244 checking changesets | 244 checking changesets |
245 checking manifests | 245 checking manifests |
246 crosschecking files in changesets and manifests | 246 crosschecking files in changesets and manifests |