diff -r c6f3ff294fe0 -r 9c8bbae02e9c tests/test-command-template --- a/tests/test-command-template Thu Jan 22 15:22:37 2009 +0100 +++ b/tests/test-command-template Thu Jan 22 16:07:44 2009 +0100 @@ -30,6 +30,9 @@ echo second > second hg add second hg commit -m second -d '1000000 0' -u 'User Name ' +echo third > third +hg add third +hg commit -m third -d "2020-01-01 10:01" # make sure user/global hgrc does not affect tests echo '[ui]' > .hg/hgrc @@ -101,6 +104,7 @@ hg log --template '{author|person}\n' hg log --template '{author|user}\n' hg log --template '{date|age}\n' > /dev/null || exit 1 +hg log -l1 --template '{date|age}\n' hg log --template '{date|date}\n' hg log --template '{date|isodate}\n' hg log --template '{date|isodatesec}\n'