amend: explicitly test -d option
authorGreg Ward <greg@gerg.ca>
Thu, 05 Jun 2014 21:27:28 -0400
changeset 975 09d6036ad596
parent 974 5808aad40aca
child 976 bed842762447
amend: explicitly test -d option
tests/test-amend.t
--- a/tests/test-amend.t	Thu Jun 05 21:27:06 2014 -0400
+++ b/tests/test-amend.t	Thu Jun 05 21:27:28 2014 -0400
@@ -78,4 +78,8 @@
   |
   o  2@foo(draft) adda
   
+Specify precise commit date with -d
+  $ hg amend -d '2001-02-03 04:05:06 +0700'
+  $ hg parents --template '{rev}  {date|date}\n'
+  5  Sat Feb 03 04:05:06 2001 +0700