diff tests/test-topic.t @ 5765:98e87c181e0f mercurial-4.8

test-compat: merge mercurial-4.9 into mercurial-4.8 # no-check-commit
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 31 Jan 2021 16:06:16 +0800
parents f0ce31fcb630 785b5be835ee
children 82da27321e91 1f301a3062f5
line wrap: on
line diff
--- a/tests/test-topic.t	Sun Jan 31 15:57:57 2021 +0800
+++ b/tests/test-topic.t	Sun Jan 31 16:06:16 2021 +0800
@@ -926,79 +926,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