--- a/tests/test-topic.t Sat Apr 20 03:55:04 2019 +0200
+++ b/tests/test-topic.t Sat Apr 20 03:55:06 2019 +0200
@@ -854,79 +854,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