tests/test-command-template
changeset 7682 9c8bbae02e9c
parent 6723 1fe6f365df2e
child 7879 5c4026a289a4
--- 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 <user@hostname>'
+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'