changeset 975:09d6036ad596

amend: explicitly test -d option
author Greg Ward <greg@gerg.ca>
date Thu, 05 Jun 2014 21:27:28 -0400
parents 5808aad40aca
children bed842762447
files tests/test-amend.t
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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