Mercurial > hg
diff tests/test-bundle2-format.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 | e0e28e910fa3 |
children | 18c2bcc2c9d5 |
line wrap: on
line diff
--- a/tests/test-bundle2-format.t Fri May 15 11:52:39 2015 +0800 +++ b/tests/test-bundle2-format.t Sat May 09 23:40:40 2015 -0700 @@ -336,7 +336,7 @@ bundling debug - $ hg bundle2 --debug --param 'e|! 7/=babar%#==tutu' --param simple ../out.hg2 + $ hg bundle2 --debug --param 'e|! 7/=babar%#==tutu' --param simple ../out.hg2 --config progress.debug=true start emission of HG20 stream bundle parameter: e%7C%21%207/=babar%25%23%3D%3Dtutu simple start of parts @@ -349,7 +349,7 @@ unbundling debug - $ hg statbundle2 --debug < ../out.hg2 + $ hg statbundle2 --debug --config progress.debug=true < ../out.hg2 start processing of HG20 stream reading bundle2 stream parameters ignoring unknown parameter 'e|! 7/' @@ -383,7 +383,7 @@ Test part ================= - $ hg bundle2 --parts ../parts.hg2 --debug + $ hg bundle2 --parts ../parts.hg2 --debug --config progress.debug=true start emission of HG20 stream bundle parameter: start of parts @@ -436,7 +436,7 @@ payload: 0 bytes parts count: 7 - $ hg statbundle2 --debug < ../parts.hg2 + $ hg statbundle2 --debug --config progress.debug=true < ../parts.hg2 start processing of HG20 stream reading bundle2 stream parameters options count: 0 @@ -515,7 +515,7 @@ Process the bundle - $ hg unbundle2 --debug < ../parts.hg2 + $ hg unbundle2 --debug --config progress.debug=true < ../parts.hg2 start processing of HG20 stream reading bundle2 stream parameters start extraction of bundle2 parts @@ -704,7 +704,7 @@ @ 0:3903775176ed draft test a - $ hg bundle2 --debug --rev '8+7+5+4' ../rev.hg2 + $ hg bundle2 --debug --config progress.debug=true --rev '8+7+5+4' ../rev.hg2 4 changesets found list of changesets: 32af7686d403cf45b5d95f2d70cebea587ac806a