tests/test-commit-amend.t
branchstable
changeset 17461 bacde764fba0
parent 17060 69fa0459dd3b
child 17462 8085fed2bf0a
equal deleted inserted replaced
17454:f5e86b416e05 17461:bacde764fba0
   353   $ hg ci --amend -m 'graft amend'
   353   $ hg ci --amend -m 'graft amend'
   354   saved backup bundle to $TESTTMP/.hg/strip-backup/18a5124daf7a-amend-backup.hg (glob)
   354   saved backup bundle to $TESTTMP/.hg/strip-backup/18a5124daf7a-amend-backup.hg (glob)
   355   $ hg log -r . --debug | grep extra
   355   $ hg log -r . --debug | grep extra
   356   extra:       branch=a
   356   extra:       branch=a
   357   extra:       source=2647734878ef0236dda712fae9c1651cf694ea8a
   357   extra:       source=2647734878ef0236dda712fae9c1651cf694ea8a
       
   358 
       
   359 Preserve phase
       
   360 
       
   361   $ hg phase '.^::.'
       
   362   11: draft
       
   363   13: draft
       
   364   $ hg phase --secret --force .
       
   365   $ hg phase '.^::.'
       
   366   11: draft
       
   367   13: secret
       
   368   $ hg commit --amend -m 'amend for phase' -q
       
   369   $ hg phase '.^::.'
       
   370   11: draft
       
   371   13: secret
       
   372