Mercurial > hg
comparison tests/svn/branches.svndump @ 7475:90d8dfb481e7
Rewrite svn tests using svndump
They are:
- faster to run (12s vs 30s in test-convert-svn-branches case)
- easier to craft
- easier to debug
- more portable
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sat, 06 Dec 2008 20:07:44 +0100 |
parents | |
children | 8b603c7c808e |
comparison
equal
deleted
inserted
replaced
7468:3e5db4228f8f | 7475:90d8dfb481e7 |
---|---|
1 SVN-fs-dump-format-version: 2 | |
2 | |
3 UUID: 7b60030a-5a1f-4344-a009-73f0c1c2adf2 | |
4 | |
5 Revision-number: 0 | |
6 Prop-content-length: 56 | |
7 Content-length: 56 | |
8 | |
9 K 8 | |
10 svn:date | |
11 V 27 | |
12 2008-12-06T12:47:52.296168Z | |
13 PROPS-END | |
14 | |
15 Revision-number: 1 | |
16 Prop-content-length: 112 | |
17 Content-length: 112 | |
18 | |
19 K 7 | |
20 svn:log | |
21 V 10 | |
22 init projA | |
23 K 10 | |
24 svn:author | |
25 V 7 | |
26 pmezard | |
27 K 8 | |
28 svn:date | |
29 V 27 | |
30 2008-12-06T12:47:52.342238Z | |
31 PROPS-END | |
32 | |
33 Node-path: branches | |
34 Node-kind: dir | |
35 Node-action: add | |
36 Prop-content-length: 10 | |
37 Content-length: 10 | |
38 | |
39 PROPS-END | |
40 | |
41 | |
42 Node-path: tags | |
43 Node-kind: dir | |
44 Node-action: add | |
45 Prop-content-length: 10 | |
46 Content-length: 10 | |
47 | |
48 PROPS-END | |
49 | |
50 | |
51 Node-path: trunk | |
52 Node-kind: dir | |
53 Node-action: add | |
54 Prop-content-length: 10 | |
55 Content-length: 10 | |
56 | |
57 PROPS-END | |
58 | |
59 | |
60 Revision-number: 2 | |
61 Prop-content-length: 106 | |
62 Content-length: 106 | |
63 | |
64 K 7 | |
65 svn:log | |
66 V 5 | |
67 hello | |
68 K 10 | |
69 svn:author | |
70 V 7 | |
71 pmezard | |
72 K 8 | |
73 svn:date | |
74 V 27 | |
75 2008-12-06T12:47:53.190046Z | |
76 PROPS-END | |
77 | |
78 Node-path: branches/notinbranch | |
79 Node-kind: file | |
80 Node-action: add | |
81 Prop-content-length: 10 | |
82 Text-content-length: 2 | |
83 Text-content-md5: e29311f6f1bf1af907f9ef9f44b8328b | |
84 Content-length: 12 | |
85 | |
86 PROPS-END | |
87 d | |
88 | |
89 | |
90 Node-path: trunk/a | |
91 Node-kind: file | |
92 Node-action: add | |
93 Prop-content-length: 10 | |
94 Text-content-length: 2 | |
95 Text-content-md5: 60b725f10c9c85c70d97880dfe8191b3 | |
96 Content-length: 12 | |
97 | |
98 PROPS-END | |
99 a | |
100 | |
101 | |
102 Node-path: trunk/b | |
103 Node-kind: file | |
104 Node-action: add | |
105 Prop-content-length: 10 | |
106 Text-content-length: 2 | |
107 Text-content-md5: 3b5d5c3712955042212316173ccf37be | |
108 Content-length: 12 | |
109 | |
110 PROPS-END | |
111 b | |
112 | |
113 | |
114 Node-path: trunk/c | |
115 Node-kind: file | |
116 Node-action: add | |
117 Prop-content-length: 10 | |
118 Text-content-length: 2 | |
119 Text-content-md5: 2cd6ee2c70b0bde53fbe6cac3c8b8bb1 | |
120 Content-length: 12 | |
121 | |
122 PROPS-END | |
123 c | |
124 | |
125 | |
126 Revision-number: 3 | |
127 Prop-content-length: 124 | |
128 Content-length: 124 | |
129 | |
130 K 7 | |
131 svn:log | |
132 V 22 | |
133 branch trunk, remove c | |
134 K 10 | |
135 svn:author | |
136 V 7 | |
137 pmezard | |
138 K 8 | |
139 svn:date | |
140 V 27 | |
141 2008-12-06T12:47:55.188535Z | |
142 PROPS-END | |
143 | |
144 Node-path: branches/old | |
145 Node-kind: dir | |
146 Node-action: add | |
147 Node-copyfrom-rev: 1 | |
148 Node-copyfrom-path: trunk | |
149 Prop-content-length: 34 | |
150 Content-length: 34 | |
151 | |
152 K 13 | |
153 svn:mergeinfo | |
154 V 0 | |
155 | |
156 PROPS-END | |
157 | |
158 | |
159 Node-path: branches/old/a | |
160 Node-kind: file | |
161 Node-action: add | |
162 Node-copyfrom-rev: 2 | |
163 Node-copyfrom-path: trunk/a | |
164 Text-copy-source-md5: 60b725f10c9c85c70d97880dfe8191b3 | |
165 | |
166 | |
167 Node-path: branches/old/b | |
168 Node-kind: file | |
169 Node-action: add | |
170 Node-copyfrom-rev: 2 | |
171 Node-copyfrom-path: trunk/b | |
172 Text-copy-source-md5: 3b5d5c3712955042212316173ccf37be | |
173 | |
174 | |
175 Revision-number: 4 | |
176 Prop-content-length: 109 | |
177 Content-length: 109 | |
178 | |
179 K 7 | |
180 svn:log | |
181 V 8 | |
182 change a | |
183 K 10 | |
184 svn:author | |
185 V 7 | |
186 pmezard | |
187 K 8 | |
188 svn:date | |
189 V 27 | |
190 2008-12-06T12:47:57.146347Z | |
191 PROPS-END | |
192 | |
193 Node-path: trunk/a | |
194 Node-kind: file | |
195 Node-action: change | |
196 Text-content-length: 4 | |
197 Text-content-md5: 0d227f1abf8c2932d342e9b99cc957eb | |
198 Content-length: 4 | |
199 | |
200 a | |
201 a | |
202 | |
203 | |
204 Revision-number: 5 | |
205 Prop-content-length: 109 | |
206 Content-length: 109 | |
207 | |
208 K 7 | |
209 svn:log | |
210 V 8 | |
211 change b | |
212 K 10 | |
213 svn:author | |
214 V 7 | |
215 pmezard | |
216 K 8 | |
217 svn:date | |
218 V 27 | |
219 2008-12-06T12:47:58.150124Z | |
220 PROPS-END | |
221 | |
222 Node-path: branches/old/b | |
223 Node-kind: file | |
224 Node-action: change | |
225 Text-content-length: 4 | |
226 Text-content-md5: 06ac26ed8b614fc0b141e4542aa067c2 | |
227 Content-length: 4 | |
228 | |
229 b | |
230 b | |
231 | |
232 | |
233 Revision-number: 6 | |
234 Prop-content-length: 119 | |
235 Content-length: 119 | |
236 | |
237 K 7 | |
238 svn:log | |
239 V 17 | |
240 move and update c | |
241 K 10 | |
242 svn:author | |
243 V 7 | |
244 pmezard | |
245 K 8 | |
246 svn:date | |
247 V 27 | |
248 2008-12-06T12:48:00.161336Z | |
249 PROPS-END | |
250 | |
251 Node-path: branches/old/c | |
252 Node-kind: file | |
253 Node-action: add | |
254 Node-copyfrom-rev: 3 | |
255 Node-copyfrom-path: trunk/b | |
256 Text-copy-source-md5: 3b5d5c3712955042212316173ccf37be | |
257 Prop-content-length: 34 | |
258 Text-content-length: 4 | |
259 Text-content-md5: 33cb6785d50937d8d307ebb66d6259a7 | |
260 Content-length: 38 | |
261 | |
262 K 13 | |
263 svn:mergeinfo | |
264 V 0 | |
265 | |
266 PROPS-END | |
267 b | |
268 c | |
269 | |
270 | |
271 Node-path: trunk/b | |
272 Node-action: delete | |
273 | |
274 | |
275 Revision-number: 7 | |
276 Prop-content-length: 116 | |
277 Content-length: 116 | |
278 | |
279 K 7 | |
280 svn:log | |
281 V 14 | |
282 change b again | |
283 K 10 | |
284 svn:author | |
285 V 7 | |
286 pmezard | |
287 K 8 | |
288 svn:date | |
289 V 27 | |
290 2008-12-06T12:48:01.153724Z | |
291 PROPS-END | |
292 | |
293 Node-path: branches/old/b | |
294 Node-kind: file | |
295 Node-action: change | |
296 Text-content-length: 6 | |
297 Text-content-md5: cdcfb41554e2d092c13f5e6839e63577 | |
298 Content-length: 6 | |
299 | |
300 b | |
301 b | |
302 b | |
303 | |
304 | |
305 Revision-number: 8 | |
306 Prop-content-length: 114 | |
307 Content-length: 114 | |
308 | |
309 K 7 | |
310 svn:log | |
311 V 12 | |
312 move to old2 | |
313 K 10 | |
314 svn:author | |
315 V 7 | |
316 pmezard | |
317 K 8 | |
318 svn:date | |
319 V 27 | |
320 2008-12-06T12:48:04.150915Z | |
321 PROPS-END | |
322 | |
323 Node-path: branches/old2 | |
324 Node-kind: dir | |
325 Node-action: add | |
326 Node-copyfrom-rev: 7 | |
327 Node-copyfrom-path: branches/old | |
328 | |
329 | |
330 Node-path: branches/old | |
331 Node-action: delete | |
332 | |
333 | |
334 Revision-number: 9 | |
335 Prop-content-length: 118 | |
336 Content-length: 118 | |
337 | |
338 K 7 | |
339 svn:log | |
340 V 16 | |
341 move back to old | |
342 K 10 | |
343 svn:author | |
344 V 7 | |
345 pmezard | |
346 K 8 | |
347 svn:date | |
348 V 27 | |
349 2008-12-06T12:48:06.149560Z | |
350 PROPS-END | |
351 | |
352 Node-path: branches/old | |
353 Node-kind: dir | |
354 Node-action: add | |
355 Node-copyfrom-rev: 8 | |
356 Node-copyfrom-path: branches/old2 | |
357 | |
358 | |
359 Node-path: branches/old2 | |
360 Node-action: delete | |
361 | |
362 | |
363 Revision-number: 10 | |
364 Prop-content-length: 118 | |
365 Content-length: 118 | |
366 | |
367 K 7 | |
368 svn:log | |
369 V 16 | |
370 last change to a | |
371 K 10 | |
372 svn:author | |
373 V 7 | |
374 pmezard | |
375 K 8 | |
376 svn:date | |
377 V 27 | |
378 2008-12-06T12:48:07.268498Z | |
379 PROPS-END | |
380 | |
381 Node-path: trunk/a | |
382 Node-kind: file | |
383 Node-action: change | |
384 Text-content-length: 2 | |
385 Text-content-md5: 60b725f10c9c85c70d97880dfe8191b3 | |
386 Content-length: 2 | |
387 | |
388 a | |
389 | |
390 | |
391 Revision-number: 11 | |
392 Prop-content-length: 126 | |
393 Content-length: 126 | |
394 | |
395 K 7 | |
396 svn:log | |
397 V 24 | |
398 branch trunk@1 into old3 | |
399 K 10 | |
400 svn:author | |
401 V 7 | |
402 pmezard | |
403 K 8 | |
404 svn:date | |
405 V 27 | |
406 2008-12-06T12:48:09.151702Z | |
407 PROPS-END | |
408 | |
409 Node-path: branches/old3 | |
410 Node-kind: dir | |
411 Node-action: add | |
412 Node-copyfrom-rev: 1 | |
413 Node-copyfrom-path: trunk | |
414 | |
415 |