comparison tests/test-setdiscovery.t @ 25125:bd625cd4e5e7

progress: get the extremely verbose output out of default debug When the progress extension is not enabled, each call to 'ui.progress' used to issue a debug message. This results is a very verbose output and often redundant in tests. Dropping it makes tests less volatile to factor they do not meant to test. We had to alter the sed trick in 'test-rename-merge2.t'. Sed is used to drop all output from a certain point and hidding the progress output remove its anchor. So we anchor on something else.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Sat, 09 May 2015 23:40:40 -0700
parents 8de8cd34f2e3
children 4d2b9b304ad0
comparison
equal deleted inserted replaced
25124:d08a13215d1a 25125:bd625cd4e5e7
12 > echo 12 > echo
13 > echo "% -- a -> b tree" 13 > echo "% -- a -> b tree"
14 > hg -R a debugdiscovery b --verbose --old 14 > hg -R a debugdiscovery b --verbose --old
15 > echo 15 > echo
16 > echo "% -- a -> b set" 16 > echo "% -- a -> b set"
17 > hg -R a debugdiscovery b --verbose --debug 17 > hg -R a debugdiscovery b --verbose --debug --config progress.debug=true
18 > echo 18 > echo
19 > echo "% -- b -> a tree" 19 > echo "% -- b -> a tree"
20 > hg -R b debugdiscovery a --verbose --old 20 > hg -R b debugdiscovery a --verbose --old --config
21 > echo 21 > echo
22 > echo "% -- b -> a set" 22 > echo "% -- b -> a set"
23 > hg -R b debugdiscovery a --verbose --debug 23 > hg -R b debugdiscovery a --verbose --debug --config progress.debug=true
24 > cd .. 24 > cd ..
25 > } 25 > }
26 26
27 27
28 Small superset: 28 Small superset:
303 adding file changes 303 adding file changes
304 added 304 changesets with 0 changes to 0 files 304 added 304 changesets with 0 changes to 0 files
305 updating to branch b 305 updating to branch b
306 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 306 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
307 307
308 $ hg -R a debugdiscovery b --debug --verbose 308 $ hg -R a debugdiscovery b --debug --verbose --config progress.debug=true
309 comparing with b 309 comparing with b
310 query 1; heads 310 query 1; heads
311 searching for changes 311 searching for changes
312 taking quick initial sample 312 taking quick initial sample
313 searching: 2 queries 313 searching: 2 queries