tests/test-keyword.t
branchstable
changeset 1083 64fc3d450713
parent 1080 4ee1c08706c4
child 1095 716365545fb1
--- a/tests/test-keyword.t	Tue May 15 14:37:49 2012 -0500
+++ b/tests/test-keyword.t	Sat Jun 02 10:09:59 2012 +0200
@@ -495,6 +495,22 @@
   $ hg forget i
   $ rm i
 
+amend
+
+  $ echo amend >> a
+  $ echo amend >> b
+  $ hg -q commit -d '1 14' -m 'prepare amend'
+
+  $ hg --debug commit --amend -d '1 15' -m 'amend without changes' | grep keywords
+  invalidating branch cache (tip differs)
+  overwriting a expanding keywords
+  $ hg -q id
+  a71343332ea9
+  $ head -1 a
+  expand $Id: a,v a71343332ea9 1970/01/01 00:00:01 test $
+
+  $ hg -q strip -n tip
+
 Test patch queue repo
 
   $ hg init --mq