Mercurial > public > mercurial-scm > hg
diff tests/test-histedit-edit.t @ 18913:79580b3140cd
histedit: support editing of the first commit (issue3767)
author | Bryan O'Sullivan <bryano@fb.com> |
---|---|
date | Fri, 12 Apr 2013 16:01:18 -0700 |
parents | 909cb9ddba4a |
children | 93f3a06b2035 |
line wrap: on
line diff
--- a/tests/test-histedit-edit.t Fri Apr 12 17:00:42 2013 -0400 +++ b/tests/test-histedit-edit.t Fri Apr 12 16:01:18 2013 -0700 @@ -209,3 +209,16 @@ [1] $ cd .. + $ hg clone -qr0 r r0 + $ cd r0 + $ echo edit cb9a9f314b8b a > $EDITED + $ hg phase -fdr0 + $ HGEDITOR="cat \"$EDITED\" > " hg histedit 0 2>&1 + 0 files updated, 0 files merged, 1 files removed, 0 files unresolved + adding a + abort: Make changes as needed, you may commit or record as needed now. + When you are finished, run hg histedit --continue to resume. + [255] + $ HGEDITOR=true hg histedit --continue + 0 files updated, 0 files merged, 0 files removed, 0 files unresolved + saved backup bundle to $TESTTMP/r0/.hg/strip-backup/cb9a9f314b8b-backup.hg (glob)