tests/test-commit-amend.t
changeset 17473 9732473aa24b
parent 17462 8085fed2bf0a
child 17475 63e45aee46d4
equal deleted inserted replaced
17472:965fbe04fd96 17473:9732473aa24b
   165 Same, but with changes in working dir (different code path):
   165 Same, but with changes in working dir (different code path):
   166 
   166 
   167   $ echo a >> a
   167   $ echo a >> a
   168   $ HGEDITOR="\"sh\" \"`pwd`/editor.sh\"" hg commit --amend -v
   168   $ HGEDITOR="\"sh\" \"`pwd`/editor.sh\"" hg commit --amend -v
   169   amending changeset ffb49186f961
   169   amending changeset ffb49186f961
       
   170   a
       
   171   copying changeset a4f8a65b7c6a to ad120869acf0
   170   another precious commit message
   172   another precious commit message
   171   
   173   
   172   
   174   
   173   HG: Enter commit message.  Lines beginning with 'HG:' are removed.
   175   HG: Enter commit message.  Lines beginning with 'HG:' are removed.
   174   HG: Leave message empty to abort commit.
   176   HG: Leave message empty to abort commit.
   175   HG: --
   177   HG: --
   176   HG: user: foo
   178   HG: user: foo
   177   HG: branch 'default'
   179   HG: branch 'default'
   178   HG: changed a
   180   HG: changed a
   179   a
   181   a
   180   copying changeset 27f3aacd3011 to ad120869acf0
   182   stripping intermediate changeset a4f8a65b7c6a
   181   a
       
   182   stripping intermediate changeset 27f3aacd3011
       
   183   stripping amended changeset ffb49186f961
   183   stripping amended changeset ffb49186f961
   184   2 changesets found
   184   2 changesets found
   185   saved backup bundle to $TESTTMP/.hg/strip-backup/ffb49186f961-amend-backup.hg (glob)
   185   saved backup bundle to $TESTTMP/.hg/strip-backup/ffb49186f961-amend-backup.hg (glob)
   186   1 changesets found
   186   1 changesets found
   187   adding branch
   187   adding branch