Mercurial > hg-git
changeset 1060:b236d7259c2d
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.
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Wed, 01 Nov 2017 19:50:00 -0500 |
parents | 0a4b119fb2b4 |
children | a2eccdeed26d |
files | tests/testutil |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/testutil Tue Oct 24 15:21:55 2017 -0500 +++ b/tests/testutil Wed Nov 01 19:50:00 2017 -0500 @@ -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,