tests/testlib/obshistory_setup.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 13 Sep 2018 18:21:07 +0200
branchstable
changeset 4097 4ea2a813b82c
parent 3894 7c624b45fe60
permissions -rw-r--r--
obscache: ignore permission and OS errors when writing In practice we always update this cache along side a new transaction, with lock taken so permission issues should not happens. However, staying on the safe side is better. Errors during Cache update should not block Mercurial operations.

. $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
}