Commits

Augie Fackler  committed e548dd7

Test that verifies edit and --continue doesn't lose adds of files.

  • Participants
  • Parent commits af41b2e

Comments (0)

Files changed (2)

File tests/test-histedit-edit

 echo '% contents of e:'
 hg cat e
 
+cat > $EDITED <<EOF
+edit c38516e9ed62 f
+EOF
+HGEDITOR="cat $EDITED > " hg histedit tip 2>&1 | fixbundle
+hg status
+HGEDITOR='true' hg histedit --continue
+hg status
 echo % EOF

File tests/test-histedit-edit.out

 
 % contents of e:
 a
+0 files updated, 0 files merged, 1 files removed, 0 files unresolved
+abort: Make changes as needed, you may commit or record as needed now.
+When you are finished, run hg histedit --continue to resume.
+A f
+0 files updated, 0 files merged, 0 files removed, 0 files unresolved
 % EOF