Mercurial > evolve
annotate tests/test-evolve-cycles.t @ 2553:85cabd631a1b
default: merge back with stable
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 07 Jun 2017 01:38:48 +0100 |
parents | 262d684851dc |
children | 9019d41998ab |
rev | line source |
---|---|
2480
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
1 Test that evolve related algorithms don't crash on obs markers cycles |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
2 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
3 Global setup |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
4 ============ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
5 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
6 $ . $TESTDIR/testlib/common.sh |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
7 $ cat >> $HGRCPATH <<EOF |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
8 > [ui] |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
9 > interactive = true |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
10 > [phases] |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
11 > publish=False |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
12 > [extensions] |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
13 > evolve = |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
14 > EOF |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
15 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
16 Test with cycle |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
17 =============== |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
18 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
19 Test setup |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
20 ---------- |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
21 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
22 $ hg init $TESTTMP/cycle |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
23 $ cd $TESTTMP/cycle |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
24 $ mkcommit ROOT |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
25 $ mkcommit A |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
26 $ mkcommit B |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
27 $ mkcommit C |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
28 $ hg log -G |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
29 @ changeset: 3:a8df460dbbfe |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
30 | tag: tip |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
31 | user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
32 | date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
33 | summary: C |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
34 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
35 o changeset: 2:c473644ee0e9 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
36 | user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
37 | date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
38 | summary: B |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
39 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
40 o changeset: 1:2a34000d3544 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
41 | user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
42 | date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
43 | summary: A |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
44 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
45 o changeset: 0:ea207398892e |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
46 user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
47 date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
48 summary: ROOT |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
49 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
50 Create a cycle |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
51 $ hg prune -s "desc(B)" "desc(A)" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
52 1 changesets pruned |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
53 2 new unstable changesets |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
54 $ hg prune -s "desc(C)" "desc(B)" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
55 1 changesets pruned |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
56 $ hg prune -s "desc(A)" "desc(C)" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
57 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
58 working directory now at 2a34000d3544 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
59 1 changesets pruned |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
60 $ hg log --hidden -G |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
61 x changeset: 3:a8df460dbbfe |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
62 | tag: tip |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
63 | user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
64 | date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
65 | summary: C |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
66 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
67 x changeset: 2:c473644ee0e9 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
68 | user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
69 | date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
70 | summary: B |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
71 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
72 @ changeset: 1:2a34000d3544 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
73 | user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
74 | date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
75 | summary: A |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
76 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
77 o changeset: 0:ea207398892e |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
78 user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
79 date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
80 summary: ROOT |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
81 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
82 Actual test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
83 ----------- |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
84 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
85 Check that debugobshistory never crash on a cycle |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
86 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
87 $ hg obslog "desc(A)" --hidden |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
88 @ 2a34000d3544 (1) A |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
89 | rewritten by test (*) as c473644ee0e9 (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
90 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
91 x a8df460dbbfe (3) C |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
92 | rewritten by test (*) as 2a34000d3544 (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
93 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
94 x c473644ee0e9 (2) B |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
95 | rewritten by test (*) as a8df460dbbfe (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
96 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
97 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
98 $ hg obslog "desc(B)" --hidden |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
99 @ 2a34000d3544 (1) A |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
100 | rewritten by test (*) as c473644ee0e9 (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
101 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
102 x a8df460dbbfe (3) C |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
103 | rewritten by test (*) as 2a34000d3544 (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
104 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
105 x c473644ee0e9 (2) B |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
106 | rewritten by test (*) as a8df460dbbfe (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
107 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
108 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
109 $ hg obslog "desc(C)" --hidden |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
110 @ 2a34000d3544 (1) A |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
111 | rewritten by test (*) as c473644ee0e9 (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
112 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
113 x a8df460dbbfe (3) C |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
114 | rewritten by test (*) as 2a34000d3544 (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
115 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
116 x c473644ee0e9 (2) B |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
117 | rewritten by test (*) as a8df460dbbfe (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
118 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
119 |
2484
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
120 Check that all option don't crash on a cycle either |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
121 |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
122 $ hg obslog "desc(C)" --hidden --all |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
123 @ 2a34000d3544 (1) A |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
124 | rewritten by test (*) as c473644ee0e9 (glob) |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
125 | |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
126 x a8df460dbbfe (3) C |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
127 | rewritten by test (*) as 2a34000d3544 (glob) |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
128 | |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
129 x c473644ee0e9 (2) B |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
130 | rewritten by test (*) as a8df460dbbfe (glob) |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
131 | |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
132 |
2480
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
133 Test with multiple cyles |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
134 ======================== |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
135 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
136 Test setup |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
137 ---------- |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
138 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
139 $ hg init $TESTTMP/multiple-cycle |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
140 $ cd $TESTTMP/multiple-cycle |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
141 $ mkcommit ROOT |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
142 $ mkcommit A |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
143 $ mkcommit B |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
144 $ mkcommit C |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
145 $ mkcommit D |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
146 $ mkcommit E |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
147 $ mkcommit F |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
148 $ hg log -G |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
149 @ changeset: 6:d9f908fde1a1 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
150 | tag: tip |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
151 | user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
152 | date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
153 | summary: F |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
154 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
155 o changeset: 5:0da815c333f6 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
156 | user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
157 | date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
158 | summary: E |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
159 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
160 o changeset: 4:868d2e0eb19c |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
161 | user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
162 | date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
163 | summary: D |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
164 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
165 o changeset: 3:a8df460dbbfe |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
166 | user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
167 | date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
168 | summary: C |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
169 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
170 o changeset: 2:c473644ee0e9 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
171 | user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
172 | date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
173 | summary: B |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
174 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
175 o changeset: 1:2a34000d3544 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
176 | user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
177 | date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
178 | summary: A |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
179 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
180 o changeset: 0:ea207398892e |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
181 user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
182 date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
183 summary: ROOT |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
184 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
185 Create a first cycle |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
186 $ hg prune -s "desc(B)" "desc(A)" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
187 1 changesets pruned |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
188 5 new unstable changesets |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
189 $ hg prune -s "desc(C)" "desc(B)" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
190 1 changesets pruned |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
191 $ hg prune --split -s "desc(A)" -s "desc(D)" "desc(C)" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
192 1 changesets pruned |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
193 And create a second one |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
194 $ hg prune -s "desc(E)" "desc(D)" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
195 1 changesets pruned |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
196 $ hg prune -s "desc(F)" "desc(E)" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
197 1 changesets pruned |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
198 $ hg prune -s "desc(D)" "desc(F)" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
199 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
200 working directory now at 868d2e0eb19c |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
201 1 changesets pruned |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
202 $ hg log --hidden -G |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
203 x changeset: 6:d9f908fde1a1 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
204 | tag: tip |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
205 | user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
206 | date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
207 | summary: F |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
208 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
209 x changeset: 5:0da815c333f6 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
210 | user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
211 | date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
212 | summary: E |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
213 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
214 @ changeset: 4:868d2e0eb19c |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
215 | user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
216 | date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
217 | summary: D |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
218 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
219 x changeset: 3:a8df460dbbfe |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
220 | user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
221 | date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
222 | summary: C |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
223 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
224 x changeset: 2:c473644ee0e9 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
225 | user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
226 | date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
227 | summary: B |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
228 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
229 x changeset: 1:2a34000d3544 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
230 | user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
231 | date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
232 | summary: A |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
233 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
234 o changeset: 0:ea207398892e |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
235 user: test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
236 date: Thu Jan 01 00:00:00 1970 +0000 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
237 summary: ROOT |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
238 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
239 Actual test |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
240 ----------- |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
241 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
242 Check that debugobshistory never crash on a cycle |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
243 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
244 $ hg obslog "desc(D)" --hidden |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
245 x 0da815c333f6 (5) E |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
246 | rewritten by test (*) as d9f908fde1a1 (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
247 | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
248 @ 868d2e0eb19c (4) D |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
249 |\ rewritten by test (*) as 0da815c333f6 (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
250 | | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
251 | x d9f908fde1a1 (6) F |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
252 | | rewritten by test (*) as 868d2e0eb19c (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
253 | | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
254 +---x 2a34000d3544 (1) A |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
255 | | rewritten by test (*) as c473644ee0e9 (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
256 | | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
257 x | a8df460dbbfe (3) C |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
258 | | rewritten by test (*) as 2a34000d3544, 868d2e0eb19c (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
259 | | |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
260 x | c473644ee0e9 (2) B |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
261 | | rewritten by test (*) as a8df460dbbfe (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
262 | | |
2484
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
263 Check that all option don't crash either on a cycle |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
264 $ hg obslog --all --hidden "desc(F)" |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
265 x 0da815c333f6 (5) E |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
266 | rewritten by test (*) as d9f908fde1a1 (glob) |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
267 | |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
268 @ 868d2e0eb19c (4) D |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
269 |\ rewritten by test (*) as 0da815c333f6 (glob) |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
270 | | |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
271 | x d9f908fde1a1 (6) F |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
272 | | rewritten by test (*) as 868d2e0eb19c (glob) |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
273 | | |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
274 +---x 2a34000d3544 (1) A |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
275 | | rewritten by test (*) as c473644ee0e9 (glob) |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
276 | | |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
277 x | a8df460dbbfe (3) C |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
278 | | rewritten by test (*) as 2a34000d3544, 868d2e0eb19c (glob) |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
279 | | |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
280 x | c473644ee0e9 (2) B |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
281 | | rewritten by test (*) as a8df460dbbfe (glob) |
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
282 | | |
2480
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
283 Check the json output is valid in this case |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
284 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
285 $ hg obslog "desc(D)" --hidden --no-graph -Tjson | python -m json.tool |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
286 [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
287 { |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
288 "debugobshistory.markers": [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
289 { |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
290 "debugobshistory.marker_date": [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
291 *, (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
292 0 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
293 ], |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
294 "debugobshistory.marker_user": "test", |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
295 "debugobshistory.succnodes": [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
296 "0da815c333f6" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
297 ], |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
298 "debugobshistory.verb": "rewritten" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
299 } |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
300 ], |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
301 "debugobshistory.node": "868d2e0eb19c", |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
302 "debugobshistory.rev": 4, |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
303 "debugobshistory.shortdescription": "D" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
304 }, |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
305 { |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
306 "debugobshistory.markers": [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
307 { |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
308 "debugobshistory.marker_date": [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
309 *, (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
310 0 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
311 ], |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
312 "debugobshistory.marker_user": "test", |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
313 "debugobshistory.succnodes": [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
314 "868d2e0eb19c" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
315 ], |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
316 "debugobshistory.verb": "rewritten" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
317 } |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
318 ], |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
319 "debugobshistory.node": "d9f908fde1a1", |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
320 "debugobshistory.rev": 6, |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
321 "debugobshistory.shortdescription": "F" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
322 }, |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
323 { |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
324 "debugobshistory.markers": [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
325 { |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
326 "debugobshistory.marker_date": [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
327 *, (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
328 0 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
329 ], |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
330 "debugobshistory.marker_user": "test", |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
331 "debugobshistory.succnodes": [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
332 "d9f908fde1a1" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
333 ], |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
334 "debugobshistory.verb": "rewritten" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
335 } |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
336 ], |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
337 "debugobshistory.node": "0da815c333f6", |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
338 "debugobshistory.rev": 5, |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
339 "debugobshistory.shortdescription": "E" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
340 }, |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
341 { |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
342 "debugobshistory.markers": [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
343 { |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
344 "debugobshistory.marker_date": [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
345 *, (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
346 0 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
347 ], |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
348 "debugobshistory.marker_user": "test", |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
349 "debugobshistory.succnodes": [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
350 "2a34000d3544", |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
351 "868d2e0eb19c" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
352 ], |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
353 "debugobshistory.verb": "rewritten" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
354 } |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
355 ], |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
356 "debugobshistory.node": "a8df460dbbfe", |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
357 "debugobshistory.rev": 3, |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
358 "debugobshistory.shortdescription": "C" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
359 }, |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
360 { |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
361 "debugobshistory.markers": [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
362 { |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
363 "debugobshistory.marker_date": [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
364 *, (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
365 0 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
366 ], |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
367 "debugobshistory.marker_user": "test", |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
368 "debugobshistory.succnodes": [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
369 "a8df460dbbfe" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
370 ], |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
371 "debugobshistory.verb": "rewritten" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
372 } |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
373 ], |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
374 "debugobshistory.node": "c473644ee0e9", |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
375 "debugobshistory.rev": 2, |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
376 "debugobshistory.shortdescription": "B" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
377 }, |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
378 { |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
379 "debugobshistory.markers": [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
380 { |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
381 "debugobshistory.marker_date": [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
382 *, (glob) |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
383 0 |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
384 ], |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
385 "debugobshistory.marker_user": "test", |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
386 "debugobshistory.succnodes": [ |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
387 "c473644ee0e9" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
388 ], |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
389 "debugobshistory.verb": "rewritten" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
390 } |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
391 ], |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
392 "debugobshistory.node": "2a34000d3544", |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
393 "debugobshistory.rev": 1, |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
394 "debugobshistory.shortdescription": "A" |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
395 } |
a147ea7fb579
test: split evolve cycle tests in a separate test file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
396 ] |
2484
262d684851dc
obshistory: add the all option to obslog to show the while obs tree
Boris Feld <boris.feld@octobus.net>
parents:
2480
diff
changeset
|
397 |