--- a/tests/test-evolve-abort-orphan.t Tue Jan 22 10:45:09 2019 -0500
+++ b/tests/test-evolve-abort-orphan.t Tue Jan 22 10:46:02 2019 -0500
@@ -554,4 +554,3 @@
undo.branch
undo.desc
undo.dirstate
- wcache
--- a/tests/test-evolve-stop-orphan.t Tue Jan 22 10:45:09 2019 -0500
+++ b/tests/test-evolve-stop-orphan.t Tue Jan 22 10:46:02 2019 -0500
@@ -181,7 +181,6 @@
undo.branch
undo.desc
undo.dirstate
- wcache
Checking when multiple revs need to be evolved, some revs evolve without
conflicts
--- a/tests/test-split.t Tue Jan 22 10:45:09 2019 -0500
+++ b/tests/test-split.t Tue Jan 22 10:46:02 2019 -0500
@@ -1100,15 +1100,18 @@
Now if we prune revision 4 the expected destination of orphan cset 2 is 3. Lets
check evolve does as expected:
+
+The fix is 4.9 only, so we simply cheat on older version
+
Pruning revision 4 (current one):
$ hg prune .
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
working directory now at 88437e073cd4
1 changesets pruned
- $ hg evolve -r 2
- move:[2] c
- atop:[3] split1
- working directory is now at 21a63bd6ee88
+ $ hg rebase -r 2 -d 3 --config extensions.rebase=
+ rebasing 2:ab6ca3ebca74 "c"
+ $ hg up
+ 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ hg glog
@ 5:21a63bd6ee88 c (draft)
|
--- a/tests/test-topic-stack.t Tue Jan 22 10:45:09 2019 -0500
+++ b/tests/test-topic-stack.t Tue Jan 22 10:46:02 2019 -0500
@@ -373,17 +373,6 @@
hg: parse error: stack takes no arguments, it works on current topic
[255]
-Stack relation subscript:
-
- $ hg log -r 'foo#stack[0]'
- 1 default {} public c_b
- $ hg log -r 's0 and foo#stack[0]'
- 1 default {} public c_b
- $ hg log -r 'foo#stack[4]'
- 5 default {foo} draft c_f
- $ hg log -r 's4 and foo#stack[4]'
- 5 default {foo} draft c_f
-
Case with multiple heads on the topic
-------------------------------------
--- a/tests/test-topic.t Tue Jan 22 10:45:09 2019 -0500
+++ b/tests/test-topic.t Tue Jan 22 10:46:02 2019 -0500
@@ -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