comparison 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
comparison
equal deleted inserted replaced
25124:d08a13215d1a 25125:bd625cd4e5e7
549 (leaving bookmark other) 549 (leaving bookmark other)
550 $ test -f recreated/somethingold 550 $ test -f recreated/somethingold
551 551
552 Test archive 552 Test archive
553 553
554 $ hg archive -S ../archive-all --debug 554 $ hg archive -S ../archive-all --debug --config progress.debug=true
555 archiving: 0/2 files (0.00%) 555 archiving: 0/2 files (0.00%)
556 archiving: .hgsub 1/2 files (50.00%) 556 archiving: .hgsub 1/2 files (50.00%)
557 archiving: .hgsubstate 2/2 files (100.00%) 557 archiving: .hgsubstate 2/2 files (100.00%)
558 archiving (obstruct): 0/1 files (0.00%) 558 archiving (obstruct): 0/1 files (0.00%)
559 archiving (obstruct): 1/1 files (100.00%) 559 archiving (obstruct): 1/1 files (100.00%)
561 archiving (recreated): 1/1 files (100.00%) 561 archiving (recreated): 1/1 files (100.00%)
562 archiving (s): 0/2 files (0.00%) 562 archiving (s): 0/2 files (0.00%)
563 archiving (s): 1/2 files (50.00%) 563 archiving (s): 1/2 files (50.00%)
564 archiving (s): 2/2 files (100.00%) 564 archiving (s): 2/2 files (100.00%)
565 565
566 $ hg archive -S ../archive-exclude --debug -X **old 566 $ hg archive -S ../archive-exclude --debug --config progress.debug=true -X **old
567 archiving: 0/2 files (0.00%) 567 archiving: 0/2 files (0.00%)
568 archiving: .hgsub 1/2 files (50.00%) 568 archiving: .hgsub 1/2 files (50.00%)
569 archiving: .hgsubstate 2/2 files (100.00%) 569 archiving: .hgsubstate 2/2 files (100.00%)
570 archiving (obstruct): 0/1 files (0.00%) 570 archiving (obstruct): 0/1 files (0.00%)
571 archiving (obstruct): 1/1 files (100.00%) 571 archiving (obstruct): 1/1 files (100.00%)