tests/test-topic-stack.t
branchmercurial-4.8
changeset 4671 63a816beee7e
parent 4511 e4fc3af2d0a9
parent 4658 89c1b739fabe
child 4674 3810ca63398f
child 4782 8fcdf221b046
equal deleted inserted replaced
4670:d0d8c0e2f3fc 4671:63a816beee7e
   383 
   383 
   384   $ hg log -r 'stack(foobar)'
   384   $ hg log -r 'stack(foobar)'
   385   hg: parse error: stack takes no arguments, it works on current topic
   385   hg: parse error: stack takes no arguments, it works on current topic
   386   [255]
   386   [255]
   387 
   387 
   388 Stack relation subscript:
       
   389 
       
   390   $ hg log -r 'foo#stack[0]'
       
   391   1 default {} public c_b
       
   392   $ hg log -r 's0 and foo#stack[0]'
       
   393   1 default {} public c_b
       
   394   $ hg log -r 'foo#stack[4]'
       
   395   5 default {foo} draft c_f
       
   396   $ hg log -r 's4 and foo#stack[4]'
       
   397   5 default {foo} draft c_f
       
   398 
       
   399 Case with multiple heads on the topic
   388 Case with multiple heads on the topic
   400 -------------------------------------
   389 -------------------------------------
   401 
   390 
   402 Make things linear again
   391 Make things linear again
   403 
   392