comparison tests/test-ssh-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
230 pulling from ssh://user@dummy/remote 230 pulling from ssh://user@dummy/remote
231 searching for changes 231 searching for changes
232 adding changesets 232 adding changesets
233 adding manifests 233 adding manifests
234 adding file changes 234 adding file changes
235 added 1 changesets with 0 changes to 1 files (+1 heads) 235 added 1 changesets with 0 changes to 0 files (+1 heads)
236 (run 'hg heads' to see heads, 'hg merge' to merge) 236 (run 'hg heads' to see heads, 'hg merge' to merge)
237 $ hg verify 237 $ hg verify
238 checking changesets 238 checking changesets
239 checking manifests 239 checking manifests
240 crosschecking files in changesets and manifests 240 crosschecking files in changesets and manifests
254 pulling from ssh://user@dummy/remote 254 pulling from ssh://user@dummy/remote
255 searching for changes 255 searching for changes
256 adding changesets 256 adding changesets
257 adding manifests 257 adding manifests
258 adding file changes 258 adding file changes
259 added 2 changesets with 0 changes to 1 files (+1 heads) 259 added 2 changesets with 0 changes to 0 files (+1 heads)
260 (run 'hg heads' to see heads, 'hg merge' to merge) 260 (run 'hg heads' to see heads, 'hg merge' to merge)
261 $ hg verify 261 $ hg verify
262 checking changesets 262 checking changesets
263 checking manifests 263 checking manifests
264 crosschecking files in changesets and manifests 264 crosschecking files in changesets and manifests