87 |
87 |
88 Check that debugobshistory never crash on a cycle |
88 Check that debugobshistory never crash on a cycle |
89 |
89 |
90 $ hg obslog "desc(A)" --hidden |
90 $ hg obslog "desc(A)" --hidden |
91 @ 2a34000d3544 (1) A |
91 @ 2a34000d3544 (1) A |
92 | rewritten(description, parent, content) as c473644ee0e9 by test (*) (glob) |
92 | rewritten(description, parent, content) as c473644ee0e9 by test (Thu Jan 01 00:00:00 1970 +0000) |
93 | |
93 | |
94 x a8df460dbbfe (3) C |
94 x a8df460dbbfe (3) C |
95 | rewritten(description, parent, content) as 2a34000d3544 by test (*) (glob) |
95 | rewritten(description, parent, content) as 2a34000d3544 by test (Thu Jan 01 00:00:00 1970 +0000) |
96 | |
96 | |
97 x c473644ee0e9 (2) B |
97 x c473644ee0e9 (2) B |
98 | rewritten(description, parent, content) as a8df460dbbfe by test (*) (glob) |
98 | rewritten(description, parent, content) as a8df460dbbfe by test (Thu Jan 01 00:00:00 1970 +0000) |
99 | |
99 | |
100 |
100 |
101 $ hg obslog "desc(B)" --hidden |
101 $ hg obslog "desc(B)" --hidden |
102 @ 2a34000d3544 (1) A |
102 @ 2a34000d3544 (1) A |
103 | rewritten(description, parent, content) as c473644ee0e9 by test (*) (glob) |
103 | rewritten(description, parent, content) as c473644ee0e9 by test (Thu Jan 01 00:00:00 1970 +0000) |
104 | |
104 | |
105 x a8df460dbbfe (3) C |
105 x a8df460dbbfe (3) C |
106 | rewritten(description, parent, content) as 2a34000d3544 by test (*) (glob) |
106 | rewritten(description, parent, content) as 2a34000d3544 by test (Thu Jan 01 00:00:00 1970 +0000) |
107 | |
107 | |
108 x c473644ee0e9 (2) B |
108 x c473644ee0e9 (2) B |
109 | rewritten(description, parent, content) as a8df460dbbfe by test (*) (glob) |
109 | rewritten(description, parent, content) as a8df460dbbfe by test (Thu Jan 01 00:00:00 1970 +0000) |
110 | |
110 | |
111 |
111 |
112 $ hg obslog "desc(C)" --hidden |
112 $ hg obslog "desc(C)" --hidden |
113 @ 2a34000d3544 (1) A |
113 @ 2a34000d3544 (1) A |
114 | rewritten(description, parent, content) as c473644ee0e9 by test (*) (glob) |
114 | rewritten(description, parent, content) as c473644ee0e9 by test (Thu Jan 01 00:00:00 1970 +0000) |
115 | |
115 | |
116 x a8df460dbbfe (3) C |
116 x a8df460dbbfe (3) C |
117 | rewritten(description, parent, content) as 2a34000d3544 by test (*) (glob) |
117 | rewritten(description, parent, content) as 2a34000d3544 by test (Thu Jan 01 00:00:00 1970 +0000) |
118 | |
118 | |
119 x c473644ee0e9 (2) B |
119 x c473644ee0e9 (2) B |
120 | rewritten(description, parent, content) as a8df460dbbfe by test (*) (glob) |
120 | rewritten(description, parent, content) as a8df460dbbfe by test (Thu Jan 01 00:00:00 1970 +0000) |
121 | |
121 | |
122 |
122 |
123 Check that all option don't crash on a cycle either |
123 Check that all option don't crash on a cycle either |
124 |
124 |
125 $ hg obslog "desc(C)" --hidden --all |
125 $ hg obslog "desc(C)" --hidden --all |
126 @ 2a34000d3544 (1) A |
126 @ 2a34000d3544 (1) A |
127 | rewritten(description, parent, content) as c473644ee0e9 by test (*) (glob) |
127 | rewritten(description, parent, content) as c473644ee0e9 by test (Thu Jan 01 00:00:00 1970 +0000) |
128 | |
128 | |
129 x a8df460dbbfe (3) C |
129 x a8df460dbbfe (3) C |
130 | rewritten(description, parent, content) as 2a34000d3544 by test (*) (glob) |
130 | rewritten(description, parent, content) as 2a34000d3544 by test (Thu Jan 01 00:00:00 1970 +0000) |
131 | |
131 | |
132 x c473644ee0e9 (2) B |
132 x c473644ee0e9 (2) B |
133 | rewritten(description, parent, content) as a8df460dbbfe by test (*) (glob) |
133 | rewritten(description, parent, content) as a8df460dbbfe by test (Thu Jan 01 00:00:00 1970 +0000) |
134 | |
134 | |
135 |
135 |
136 Test with multiple cyles |
136 Test with multiple cyles |
137 ======================== |
137 ======================== |
138 |
138 |
250 |
250 |
251 Check that debugobshistory never crash on a cycle |
251 Check that debugobshistory never crash on a cycle |
252 |
252 |
253 $ hg obslog "desc(D)" --hidden |
253 $ hg obslog "desc(D)" --hidden |
254 x 0da815c333f6 (5) E |
254 x 0da815c333f6 (5) E |
255 | rewritten(description, parent, content) as d9f908fde1a1 by test (*) (glob) |
255 | rewritten(description, parent, content) as d9f908fde1a1 by test (Thu Jan 01 00:00:00 1970 +0000) |
256 | |
256 | |
257 @ 868d2e0eb19c (4) D |
257 @ 868d2e0eb19c (4) D |
258 |\ rewritten(description, parent, content) as 0da815c333f6 by test (*) (glob) |
258 |\ rewritten(description, parent, content) as 0da815c333f6 by test (Thu Jan 01 00:00:00 1970 +0000) |
259 | | |
259 | | |
260 | x d9f908fde1a1 (6) F |
260 | x d9f908fde1a1 (6) F |
261 | | rewritten(description, parent, content) as 868d2e0eb19c by test (*) (glob) |
261 | | rewritten(description, parent, content) as 868d2e0eb19c by test (Thu Jan 01 00:00:00 1970 +0000) |
262 | | |
262 | | |
263 +---x 2a34000d3544 (1) A |
263 +---x 2a34000d3544 (1) A |
264 | | rewritten(description, parent, content) as c473644ee0e9 by test (*) (glob) |
264 | | rewritten(description, parent, content) as c473644ee0e9 by test (Thu Jan 01 00:00:00 1970 +0000) |
265 | | |
265 | | |
266 x | a8df460dbbfe (3) C |
266 x | a8df460dbbfe (3) C |
267 | | rewritten(description, parent, content) as 2a34000d3544, 868d2e0eb19c by test (*) (glob) |
267 | | rewritten(description, parent, content) as 2a34000d3544, 868d2e0eb19c by test (Thu Jan 01 00:00:00 1970 +0000) |
268 | | |
268 | | |
269 x | c473644ee0e9 (2) B |
269 x | c473644ee0e9 (2) B |
270 | | rewritten(description, parent, content) as a8df460dbbfe by test (*) (glob) |
270 | | rewritten(description, parent, content) as a8df460dbbfe by test (Thu Jan 01 00:00:00 1970 +0000) |
271 | | |
271 | | |
272 Check that all option don't crash either on a cycle |
272 Check that all option don't crash either on a cycle |
273 $ hg obslog --all --hidden "desc(F)" |
273 $ hg obslog --all --hidden "desc(F)" |
274 x 0da815c333f6 (5) E |
274 x 0da815c333f6 (5) E |
275 | rewritten(description, parent, content) as d9f908fde1a1 by test (*) (glob) |
275 | rewritten(description, parent, content) as d9f908fde1a1 by test (Thu Jan 01 00:00:00 1970 +0000) |
276 | |
276 | |
277 @ 868d2e0eb19c (4) D |
277 @ 868d2e0eb19c (4) D |
278 |\ rewritten(description, parent, content) as 0da815c333f6 by test (*) (glob) |
278 |\ rewritten(description, parent, content) as 0da815c333f6 by test (Thu Jan 01 00:00:00 1970 +0000) |
279 | | |
279 | | |
280 | x d9f908fde1a1 (6) F |
280 | x d9f908fde1a1 (6) F |
281 | | rewritten(description, parent, content) as 868d2e0eb19c by test (*) (glob) |
281 | | rewritten(description, parent, content) as 868d2e0eb19c by test (Thu Jan 01 00:00:00 1970 +0000) |
282 | | |
282 | | |
283 +---x 2a34000d3544 (1) A |
283 +---x 2a34000d3544 (1) A |
284 | | rewritten(description, parent, content) as c473644ee0e9 by test (*) (glob) |
284 | | rewritten(description, parent, content) as c473644ee0e9 by test (Thu Jan 01 00:00:00 1970 +0000) |
285 | | |
285 | | |
286 x | a8df460dbbfe (3) C |
286 x | a8df460dbbfe (3) C |
287 | | rewritten(description, parent, content) as 2a34000d3544, 868d2e0eb19c by test (*) (glob) |
287 | | rewritten(description, parent, content) as 2a34000d3544, 868d2e0eb19c by test (Thu Jan 01 00:00:00 1970 +0000) |
288 | | |
288 | | |
289 x | c473644ee0e9 (2) B |
289 x | c473644ee0e9 (2) B |
290 | | rewritten(description, parent, content) as a8df460dbbfe by test (*) (glob) |
290 | | rewritten(description, parent, content) as a8df460dbbfe by test (Thu Jan 01 00:00:00 1970 +0000) |
291 | | |
291 | | |
292 Check the json output is valid in this case |
292 Check the json output is valid in this case |
293 |
293 |
294 $ hg obslog "desc(D)" --hidden --no-graph -Tjson | python -m json.tool |
294 $ hg obslog "desc(D)" --hidden --no-graph -Tjson | python -m json.tool |
295 [ |
295 [ |