##// END OF EJS Templates
discovery: log discovery result in non-trivial cases...
marmoute -
r32713:28240b75 default
parent child Browse files
Show More
@@ -241,6 +241,9 b' def findcommonheads(ui, local, remote,'
241 elapsed = util.timer() - start
241 elapsed = util.timer() - start
242 ui.progress(_('searching'), None)
242 ui.progress(_('searching'), None)
243 ui.debug("%d total queries in %.4fs\n" % (roundtrips, elapsed))
243 ui.debug("%d total queries in %.4fs\n" % (roundtrips, elapsed))
244 msg = 'found %d common and %d missing heads, %d roundtrips in %.4fs\n'
245 ui.log('discovery', msg, len(result), len(srvheadhashes), roundtrips,
246 elapsed)
244
247
245 if not result and srvheadhashes != [nullid]:
248 if not result and srvheadhashes != [nullid]:
246 if abortwhenunrelated:
249 if abortwhenunrelated:
@@ -398,8 +398,13 b' fixed in 86c35b7ae300:'
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 ..
General Comments 0
You need to be logged in to leave comments. Login now