tests/test-mq-qrefresh-interactive.t
changeset 45827 8d72e29ad1e0
parent 42566 f802a75da585
child 52088 51057ab0dffa
equal deleted inserted replaced
45826:21733e8c924f 45827:8d72e29ad1e0
   123 
   123 
   124   $ hg add 1.txt 2.txt dir/a.txt
   124   $ hg add 1.txt 2.txt dir/a.txt
   125   $ hg commit -m aaa
   125   $ hg commit -m aaa
   126   $ hg qrecord --config ui.interactive=false patch
   126   $ hg qrecord --config ui.interactive=false patch
   127   abort: running non-interactively, use qnew instead
   127   abort: running non-interactively, use qnew instead
   128   [255]
   128   [10]
   129   $ hg qnew -i --config ui.interactive=false patch
   129   $ hg qnew -i --config ui.interactive=false patch
   130   abort: running non-interactively
   130   abort: running non-interactively
   131   [255]
   131   [10]
   132   $ hg qnew -d '0 0' patch
   132   $ hg qnew -d '0 0' patch
   133 
   133 
   134 Changing files
   134 Changing files
   135 
   135 
   136   $ sed -e 's/2/2 2/;s/4/4 4/' 1.txt > 1.txt.new
   136   $ sed -e 's/2/2 2/;s/4/4 4/' 1.txt > 1.txt.new
   177 
   177 
   178 partial qrefresh
   178 partial qrefresh
   179 
   179 
   180   $ hg qrefresh -i --config ui.interactive=false
   180   $ hg qrefresh -i --config ui.interactive=false
   181   abort: running non-interactively
   181   abort: running non-interactively
   182   [255]
   182   [10]
   183   $ hg qrefresh -i -d '0 0' <<EOF
   183   $ hg qrefresh -i -d '0 0' <<EOF
   184   > y
   184   > y
   185   > y
   185   > y
   186   > n
   186   > n
   187   > y
   187   > y