tests/testlib/obshistory_setup.sh
author Martin von Zweigbergk <martinvonz@google.com>
Mon, 22 Apr 2019 22:14:26 -0700
branchstable
changeset 4565 393a58d71b30
parent 3894 7c624b45fe60
permissions -rw-r--r--
evolve: fix progress display with hg<4.7 Since d1aab9d82f5b (evolve: adapt for deprecated ui.progress(), 2019-01-14), the "item", "units" and "total" are all set to default values. The last one is especially bad since it results in a "spinner" instead of a progress bar.

. $TESTDIR/testlib/common.sh

cat >> $HGRCPATH <<EOF
[ui]
interactive = true
[phases]
publish=False
[extensions]
evolve =
[experimental]
evolution.effect-flags = yes
EOF

sync() {
   hg pull -R $TESTTMP/server . -q
}