tests/test-mq-qpush-fail.t
branchstable
changeset 22453 fd0f0b0d316d
parent 18217 46cc3b74e1c5
child 22545 6a2cfa61acb0
equal deleted inserted replaced
22377:f98abe3146b2 22453:fd0f0b0d316d
   129   applying c
   129   applying c
   130   patch c is empty
   130   patch c is empty
   131   now at: c
   131   now at: c
   132 
   132 
   133 now try it when a is unguarded, and we're at the top of the queue
   133 now try it when a is unguarded, and we're at the top of the queue
       
   134 
       
   135   $ hg qapplied -v
       
   136   0 G a
       
   137   1 A b
       
   138   2 A c
   134   $ hg qsel block
   139   $ hg qsel block
   135   number of guarded, applied patches has changed from 1 to 0
       
   136   $ hg qpush b
   140   $ hg qpush b
   137   abort: cannot push to a previous patch: b
   141   abort: cannot push to a previous patch: b
   138   [255]
   142   [255]
   139   $ hg qpush a
   143   $ hg qpush a
   140   abort: cannot push to a previous patch: a
   144   abort: cannot push to a previous patch: a