comparison tests/test-setdiscovery.t @ 32713:28240b75e880

discovery: log discovery result in non-trivial cases We log the discovery summary, the number of roundtrips and the elapsed time. This is useful to understand where slow push might come from when lloking at the blackbox.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 07 Jun 2017 10:44:11 +0100
parents 43bda143e3b2
children 0ddfe7951378
comparison
equal deleted inserted replaced
32712:43bda143e3b2 32713:28240b75e880
396 $ cat >> r1/.hg/hgrc << EOF 396 $ cat >> r1/.hg/hgrc << EOF
397 > [extensions] 397 > [extensions]
398 > unrandomsample = $TESTTMP/unrandomsample.py 398 > unrandomsample = $TESTTMP/unrandomsample.py
399 > EOF 399 > EOF
400 400
401 $ hg -R r1 outgoing r2 -T'{rev} ' 401 $ hg -R r1 outgoing r2 -T'{rev} ' --config extensions.blackbox=
402 comparing with r2 402 comparing with r2
403 searching for changes 403 searching for changes
404 101 102 103 104 105 106 107 108 109 110 (no-eol) 404 101 102 103 104 105 106 107 108 109 110 (no-eol)
405 $ hg -R r1 --config extensions.blackbox= blackbox
406 * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> outgoing r2 '-T{rev} ' (glob)
407 * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> found 101 common and 101 missing heads, 2 roundtrips in *.????s (glob)
408 * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> -R r1 outgoing r2 '-T{rev} ' --config 'extensions.blackbox=' exited 0 after *.?? seconds (glob)
409 * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> blackbox (glob)
405 $ cd .. 410 $ cd ..