diff tests/test-topic.t @ 5526:ed565c819d11 mercurial-4.8

test-compat: merge mercurial-4.9 into mercurial-4.8
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 06 Sep 2020 06:02:24 +0800
parents 58b225aa4298 e77c86e83fb4
children a135b450e3be f0ce31fcb630
line wrap: on
line diff
--- a/tests/test-topic.t	Sun Sep 06 05:47:32 2020 +0800
+++ b/tests/test-topic.t	Sun Sep 06 06:02:24 2020 +0800
@@ -891,79 +891,6 @@
   3: featureA
   4: 
 
-topic subscript relation
-
-  $ tlog 'featureA'
-  3: featureA
-  $ tlog 'featureA#topic[0]'
-  3: featureA
-
-  $ tlog '2#t[-2]'
-  $ tlog '2#t[-1]'
-  1: featureA
-  $ tlog '2#t[0]'
-  2: featureA
-  $ tlog '2#t[1]'
-  3: featureA
-  $ tlog '2#t[2]'
-
-stack subscript relation
-
-  $ hg stack
-  ### target: default (branch)
-  s2@ 4 (current)
-    ^ 3
-  s1: 0
-
-  $ tlog 'tip#stack[0]'
-  $ tlog 'tip#stack[1]'
-  0: 
-  $ tlog 'tip#stack[2]'
-  4: 
-  $ tlog 'tip#stack[-1]'
-  4: 
-  $ tlog 'tip#stack[-2]'
-  0: 
-
-  $ hg stack featureA
-  ### topic: featureA
-  ### target: default (branch), 3 behind
-  s3: 3
-  s2: 2
-  s1: 1
-  s0^ 0 (base)
-
-  $ tlog 'featureA#s[0]'
-  0: 
-  $ tlog 'featureA#s[1] and featureA#s[-3]'
-  1: featureA
-  $ tlog 'featureA#s[2] and featureA#s[-2]'
-  2: featureA
-  $ tlog 'featureA#s[3] and featureA#s[-1]'
-  3: featureA
-  $ tlog 'featureA#s[-4]'
-
-  $ tlog 'all()#s[-1]'
-  3: featureA
-  4: 
-  $ tlog 'all()#s[0]'
-  0: 
-  $ tlog 'all()#s[1]'
-  0: 
-  1: featureA
-  $ tlog 'all()#s[9999]'
-  $ tlog 'all()#s[-9999]'
-
-  $ hg topic featureB
-  marked working directory as topic: featureB
-  $ hg stack
-  ### topic: featureB
-  ### target: default (branch)
-  (stack is empty)
-  s0^ 4 (base current)
-  $ tlog 'wdir()#s[0]'
-  4: 
-
   $ cd ..
 
 Testing the new config knob to forbid untopiced commit