tests/test-mq-guards.t
branchstable
changeset 22456 4bbcee186fc6
parent 22455 c89379d47e95
child 23139 e53f6b72a0e4
equal deleted inserted replaced
22455:c89379d47e95 22456:4bbcee186fc6
   564   $ hg qseries -v
   564   $ hg qseries -v
   565   0 U new.patch
   565   0 U new.patch
   566   1 G c.patch
   566   1 G c.patch
   567   2 A d.patch
   567   2 A d.patch
   568   3 G b.patch
   568   3 G b.patch
       
   569 
       
   570 test that "qselect --reapply" checks applied patches correctly when no
       
   571 applied patche becomes guarded but some of unapplied ones become
       
   572 unguarded.
       
   573 
       
   574   $ hg qpop -q -a
       
   575   patch queue now empty
       
   576   $ hg qselect not-new not-c not-d
       
   577   number of unguarded, unapplied patches has changed from 2 to 1
       
   578   $ hg qpush -q -a
       
   579   now at: b.patch
       
   580   $ hg qapplied -v
       
   581   0 G new.patch
       
   582   1 G c.patch
       
   583   2 G d.patch
       
   584   3 A b.patch
       
   585   $ hg qselect -q --reapply not-new not-c
       
   586   $ hg qseries -v
       
   587   0 G new.patch
       
   588   1 G c.patch
       
   589   2 U d.patch
       
   590   3 A b.patch