tests/test-topic.t
branchmercurial-4.9
changeset 5160 7f856606d5a9
parent 5139 19b8ffd23795
parent 4969 12ad2ec5e8a4
child 5161 58b225aa4298
equal deleted inserted replaced
5159:e5fe3ca5e6ad 5160:7f856606d5a9
   882 
   882 
   883   $ tlog 'featureA'
   883   $ tlog 'featureA'
   884   3: featureA
   884   3: featureA
   885   $ tlog 'featureA#topic[0]'
   885   $ tlog 'featureA#topic[0]'
   886   3: featureA
   886   3: featureA
   887   $ tlog 'featureA#topic[:]'
       
   888   1: featureA
       
   889   2: featureA
       
   890   3: featureA
       
   891 
   887 
   892   $ tlog '2#t[-2]'
   888   $ tlog '2#t[-2]'
   893   $ tlog '2#t[-1]'
   889   $ tlog '2#t[-1]'
   894   1: featureA
   890   1: featureA
   895   $ tlog '2#t[0]'
   891   $ tlog '2#t[0]'
   896   2: featureA
   892   2: featureA
   897   $ tlog '2#t[1]'
   893   $ tlog '2#t[1]'
   898   3: featureA
   894   3: featureA
   899   $ tlog '2#t[2]'
   895   $ tlog '2#t[2]'
   900   $ tlog '2#t[-1:1]'
       
   901   1: featureA
       
   902   2: featureA
       
   903   3: featureA
       
   904 
   896 
   905 stack subscript relation
   897 stack subscript relation
   906 
   898 
   907   $ hg stack
   899   $ hg stack
   908   ### target: default (branch)
   900   ### target: default (branch)
   928   s1: 1
   920   s1: 1
   929   s0^ 0 (base)
   921   s0^ 0 (base)
   930 
   922 
   931   $ tlog 'featureA#s[0]'
   923   $ tlog 'featureA#s[0]'
   932   0: 
   924   0: 
   933   $ tlog 'featureA#s[0:0]'
       
   934   0: 
       
   935   $ tlog 'featureA#s[:]'
       
   936   1: featureA
       
   937   2: featureA
       
   938   3: featureA
       
   939   $ tlog 'featureA#s[2:]'
       
   940   2: featureA
       
   941   3: featureA
       
   942   $ tlog 'featureA#s[:2]'
       
   943   1: featureA
       
   944   2: featureA
       
   945   $ tlog 'featureA#s[0:1]'
       
   946   0: 
       
   947   1: featureA
       
   948   $ tlog 'featureA#s[-1:0]'
       
   949   0: 
       
   950   3: featureA
       
   951   $ tlog 'featureA#s[-3:3]'
       
   952   1: featureA
       
   953   2: featureA
       
   954   3: featureA
       
   955   $ tlog 'featureA#s[1] and featureA#s[-3]'
   925   $ tlog 'featureA#s[1] and featureA#s[-3]'
   956   1: featureA
   926   1: featureA
   957   $ tlog 'featureA#s[2] and featureA#s[-2]'
   927   $ tlog 'featureA#s[2] and featureA#s[-2]'
   958   2: featureA
   928   2: featureA
   959   $ tlog 'featureA#s[3] and featureA#s[-1]'
   929   $ tlog 'featureA#s[3] and featureA#s[-1]'