tests: set default date that run-tests.py no longer sets

Since updating run-tests.py in d8d00426352e, a default date of '0 0' is
no longer set automatically. Restore this by adding it to our own test
suite's default hgrc.
This commit is contained in:
Kevin Bullock 2017-11-01 19:50:00 -05:00
parent 757b3a862e
commit 2f13a5d980

View File

@ -9,6 +9,13 @@ echo "[extensions]" >> $HGRCPATH
echo "hggit=$(echo $(dirname $TESTDIR))/hggit" >> $HGRCPATH
echo 'mq=' >> $HGRCPATH
# Defaults for testing against hg < 4.3
echo '[defaults]' >> $HGRCPATH
echo 'backout = -d "0 0"' >> $HGRCPATH
echo 'commit = -d "0 0"' >> $HGRCPATH
echo 'shelve = --date "0 0"\n' >> $HGRCPATH
echo 'tag = -d "0 0"\n' >> $HGRCPATH
# Standard checks for external dependencies
# We use the git command-line client and dulwich in pretty much all the tests.
# Thus, to avoid repetitively declaring that requirement in almost every test,