diff tests/test-archive.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 242d11819c6c
children 4d2b9b304ad0
line wrap: on
line diff
--- a/tests/test-archive.t	Fri May 15 11:52:39 2015 +0800
+++ b/tests/test-archive.t	Sat May 09 23:40:40 2015 -0700
@@ -145,7 +145,7 @@
   test/baz/bletch
   test/foo
 
-  $ hg archive --debug -t tbz2 -X baz test.tar.bz2
+  $ hg archive --debug -t tbz2 -X baz test.tar.bz2 --config progress.debug=true
   archiving: 0/4 files (0.00%)
   archiving: .hgsub 1/4 files (25.00%)
   archiving: .hgsubstate 2/4 files (50.00%)