tests/test-topic.t
changeset 4323 482992803db6
parent 4322 41f38bf15b4c
child 4339 0f015fe4f71f
equal deleted inserted replaced
4322:41f38bf15b4c 4323:482992803db6
   863   $ tlog 'tip#stack[0]'
   863   $ tlog 'tip#stack[0]'
   864   $ tlog 'tip#stack[1]'
   864   $ tlog 'tip#stack[1]'
   865   0: 
   865   0: 
   866   $ tlog 'tip#stack[2]'
   866   $ tlog 'tip#stack[2]'
   867   4: 
   867   4: 
       
   868   $ tlog 'tip#stack[-1]'
       
   869   4: 
       
   870   $ tlog 'tip#stack[-2]'
       
   871   0: 
   868 
   872 
   869   $ hg stack featureA
   873   $ hg stack featureA
   870   ### topic: featureA
   874   ### topic: featureA
   871   ### target: default (branch), 3 behind
   875   ### target: default (branch), 3 behind
   872   s3: 3
   876   s3: 3
   874   s1: 1
   878   s1: 1
   875   s0^ 0 (base)
   879   s0^ 0 (base)
   876 
   880 
   877   $ tlog 'featureA#s[0]'
   881   $ tlog 'featureA#s[0]'
   878   0: 
   882   0: 
   879   $ tlog 'featureA#s[1]'
   883   $ tlog 'featureA#s[1] and featureA#s[-3]'
   880   1: featureA
   884   1: featureA
   881   $ tlog 'featureA#s[2]'
   885   $ tlog 'featureA#s[2] and featureA#s[-2]'
   882   2: featureA
   886   2: featureA
   883   $ tlog 'featureA#s[3]'
   887   $ tlog 'featureA#s[3] and featureA#s[-1]'
   884   3: featureA
   888   3: featureA
       
   889   $ tlog 'featureA#s[-4]'
   885 
   890 
   886   $ tlog 'all()#s[-1]'
   891   $ tlog 'all()#s[-1]'
       
   892   3: featureA
       
   893   4: 
   887   $ tlog 'all()#s[0]'
   894   $ tlog 'all()#s[0]'
   888   0: 
   895   0: 
   889   $ tlog 'all()#s[1]'
   896   $ tlog 'all()#s[1]'
   890   0: 
   897   0: 
   891   1: featureA
   898   1: featureA
   892   $ tlog 'all()#s[9999]'
   899   $ tlog 'all()#s[9999]'
       
   900   $ tlog 'all()#s[-9999]'
   893 
   901 
   894   $ hg topic featureB
   902   $ hg topic featureB
   895   marked working directory as topic: featureB
   903   marked working directory as topic: featureB
   896   $ hg stack
   904   $ hg stack
   897   ### topic: featureB
   905   ### topic: featureB