tests/test-histedit-edit
changeset 17067 81d681f8bdc1
parent 17064 168cc52ad7c2
--- a/tests/test-histedit-edit	Wed Jun 27 18:35:33 2012 -0500
+++ b/tests/test-histedit-edit	Wed Jun 27 18:41:14 2012 -0500
@@ -34,7 +34,8 @@
 echo % edit the history
 HGEDITOR="cat $EDITED > " hg histedit 177f92b77385 2>&1 | fixbundle
 
-echo % edit the revision
+echo % commit, then edit the revision
+hg ci -m 'wat'
 echo a > e
 HGEDITOR='echo "foobaz" > ' hg histedit --continue 2>&1 | fixbundle
 
@@ -44,7 +45,7 @@
 hg cat e
 
 cat > $EDITED <<EOF
-edit c38516e9ed62 f
+edit bf757c081cd0 f
 EOF
 HGEDITOR="cat $EDITED > " hg histedit tip 2>&1 | fixbundle
 hg status
@@ -67,7 +68,7 @@
 
 echo % modify the message
 cat > $EDITED <<EOF
-mess c38516e9ed62 f
+mess bf757c081cd0 f
 EOF
 HGEDITOR="cat $EDITED > " hg histedit tip 2>&1 | fixbundle
 hg status