# HG changeset patch # User Kevin Bullock # Date 1509583800 18000 # Node ID b236d7259c2d843a5d53595f7ebc6d0315e28988 # Parent 0a4b119fb2b4b751c8417286b520cbe8aaf5f3a8 tests: set default date that run-tests.py no longer sets Since updating run-tests.py in e085b381e8e2, a default date of '0 0' is no longer set automatically. Restore this by adding it to our own test suite's default hgrc. diff --git a/tests/testutil b/tests/testutil --- a/tests/testutil +++ b/tests/testutil @@ -9,6 +9,13 @@ 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,