Mercurial > public > mercurial-scm > hg-stable
diff tests/test-subrepo-svn.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 | 1ef96a3b8b89 |
children | 6084926366b9 |
line wrap: on
line diff
--- a/tests/test-subrepo-svn.t Fri May 15 11:52:39 2015 +0800 +++ b/tests/test-subrepo-svn.t Sat May 09 23:40:40 2015 -0700 @@ -551,7 +551,7 @@ Test archive - $ hg archive -S ../archive-all --debug + $ hg archive -S ../archive-all --debug --config progress.debug=true archiving: 0/2 files (0.00%) archiving: .hgsub 1/2 files (50.00%) archiving: .hgsubstate 2/2 files (100.00%) @@ -563,7 +563,7 @@ archiving (s): 1/2 files (50.00%) archiving (s): 2/2 files (100.00%) - $ hg archive -S ../archive-exclude --debug -X **old + $ hg archive -S ../archive-exclude --debug --config progress.debug=true -X **old archiving: 0/2 files (0.00%) archiving: .hgsub 1/2 files (50.00%) archiving: .hgsubstate 2/2 files (100.00%)