tests/test-topic-stack.t
branchmercurial-4.8
changeset 5161 58b225aa4298
parent 4865 31c481934138
parent 5159 e5fe3ca5e6ad
child 5366 62855e1ce9d8
equal deleted inserted replaced
5160:7f856606d5a9 5161:58b225aa4298
   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