comparison tests/test-convert-git.t @ 27002:a8a5206585ec

convert: changed test's progress output format to ignore estimate On my machine, whenever I run all test with a high -j value, test-convert-git.t would consistently fail by displaying an estimate. This patch removes that value from the output.
author Christian Delahousse <cdelahousse@fb.com>
date Tue, 17 Nov 2015 18:01:21 -0800
parents 6d99cc89ee0e
children cdda7b96afff
comparison
equal deleted inserted replaced
27001:c07a2fd31970 27002:a8a5206585ec
52 $ commit -m 'Merge branch other' 52 $ commit -m 'Merge branch other'
53 $ cd .. 53 $ cd ..
54 $ hg convert --config extensions.progress= --config progress.assume-tty=1 \ 54 $ hg convert --config extensions.progress= --config progress.assume-tty=1 \
55 > --config progress.delay=0 --config progress.changedelay=0 \ 55 > --config progress.delay=0 --config progress.changedelay=0 \
56 > --config progress.refresh=0 --config progress.width=60 \ 56 > --config progress.refresh=0 --config progress.width=60 \
57 > --datesort git-repo 57 > --config progress.format='topic, bar, number' --datesort git-repo
58 \r (no-eol) (esc) 58 \r (no-eol) (esc)
59 scanning [======> ] 1/6\r (no-eol) (esc) 59 scanning [======> ] 1/6\r (no-eol) (esc)
60 scanning [=============> ] 2/6\r (no-eol) (esc) 60 scanning [=============> ] 2/6\r (no-eol) (esc)
61 scanning [=====================> ] 3/6\r (no-eol) (esc) 61 scanning [=====================> ] 3/6\r (no-eol) (esc)
62 scanning [============================> ] 4/6\r (no-eol) (esc) 62 scanning [============================> ] 4/6\r (no-eol) (esc)
171 full conversion 171 full conversion
172 172
173 $ hg convert --datesort git-repo2 fullrepo \ 173 $ hg convert --datesort git-repo2 fullrepo \
174 > --config extensions.progress= --config progress.assume-tty=1 \ 174 > --config extensions.progress= --config progress.assume-tty=1 \
175 > --config progress.delay=0 --config progress.changedelay=0 \ 175 > --config progress.delay=0 --config progress.changedelay=0 \
176 > --config progress.refresh=0 --config progress.width=60 176 > --config progress.refresh=0 --config progress.width=60 \
177 > --config progress.format='topic, bar, number'
177 \r (no-eol) (esc) 178 \r (no-eol) (esc)
178 scanning [===> ] 1/9\r (no-eol) (esc) 179 scanning [===> ] 1/9\r (no-eol) (esc)
179 scanning [========> ] 2/9\r (no-eol) (esc) 180 scanning [========> ] 2/9\r (no-eol) (esc)
180 scanning [=============> ] 3/9\r (no-eol) (esc) 181 scanning [=============> ] 3/9\r (no-eol) (esc)
181 scanning [==================> ] 4/9\r (no-eol) (esc) 182 scanning [==================> ] 4/9\r (no-eol) (esc)