tests/test-mq-qfold.t
changeset 21714 635a8201e356
parent 21423 7d408720453d
child 21930 a5168eb9b2bc
equal deleted inserted replaced
21713:7a51bced398b 21714:635a8201e356
   172   p1
   172   p1
   173   git
   173   git
   174   $ hg tip --template "{files}\n"
   174   $ hg tip --template "{files}\n"
   175   aa
   175   aa
   176 
   176 
   177 (test that editor is not invoked before transaction starting)
   177 (test that editor is not invoked before transaction starting,
       
   178 and that combination of '--edit' and '--message' doesn't abort execution)
   178 
   179 
   179   $ rm -f .hg/last-message.txt
   180   $ rm -f .hg/last-message.txt
   180   $ HGEDITOR="sh $TESTTMP/editor.sh" hg qfold -e p3
   181   $ HGEDITOR="sh $TESTTMP/editor.sh" hg qfold -e -m MESSAGE p3
   181   refresh interrupted while patch was popped! (revert --all, qpush to recover)
   182   refresh interrupted while patch was popped! (revert --all, qpush to recover)
   182   abort: emulating unexpected abort
   183   abort: emulating unexpected abort
   183   [255]
   184   [255]
   184   $ cat .hg/last-message.txt
   185   $ cat .hg/last-message.txt
   185   cat: .hg/last-message.txt: No such file or directory
   186   cat: .hg/last-message.txt: No such file or directory