tests/test-topic-stack.t
branchmercurial-4.8
changeset 4782 8fcdf221b046
parent 4671 63a816beee7e
parent 4777 ff452675566c
child 4785 f7bf347a17bb
child 4865 31c481934138
equal deleted inserted replaced
4781:5ad6d92f125c 4782:8fcdf221b046
   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