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.
--- a/tests/test-convert-git.t Tue Nov 17 13:12:33 2015 -0800
+++ b/tests/test-convert-git.t Tue Nov 17 18:01:21 2015 -0800
@@ -54,7 +54,7 @@
$ hg convert --config extensions.progress= --config progress.assume-tty=1 \
> --config progress.delay=0 --config progress.changedelay=0 \
> --config progress.refresh=0 --config progress.width=60 \
- > --datesort git-repo
+ > --config progress.format='topic, bar, number' --datesort git-repo
\r (no-eol) (esc)
scanning [======> ] 1/6\r (no-eol) (esc)
scanning [=============> ] 2/6\r (no-eol) (esc)
@@ -173,7 +173,8 @@
$ hg convert --datesort git-repo2 fullrepo \
> --config extensions.progress= --config progress.assume-tty=1 \
> --config progress.delay=0 --config progress.changedelay=0 \
- > --config progress.refresh=0 --config progress.width=60
+ > --config progress.refresh=0 --config progress.width=60 \
+ > --config progress.format='topic, bar, number'
\r (no-eol) (esc)
scanning [===> ] 1/9\r (no-eol) (esc)
scanning [========> ] 2/9\r (no-eol) (esc)