comparison tests/fixtures/corrupt.svndump @ 892:3bfb7e985c47

svn verify: add a test for corrupt repositories. This case contains a couple of unlikely (but not impossible) failure cases that the code previously did not handle. The verifier is updated to address these, and the output made a bit more consistent.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Wed, 14 Dec 2011 00:07:58 +0100
parents
children
comparison
equal deleted inserted replaced
889:7a98fbadcae9 892:3bfb7e985c47
1 SVN-fs-dump-format-version: 2
2
3 UUID: 00000000-0000-0000-0000-000000000000
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 2010-11-30T15:10:25.898546Z
13 PROPS-END
14
15 Revision-number: 1
16 Prop-content-length: 100
17 Content-length: 100
18
19 K 10
20 svn:author
21 V 6
22 danchr
23 K 8
24 svn:date
25 V 27
26 2010-11-30T15:16:01.077550Z
27 K 7
28 svn:log
29 V 0
30
31 PROPS-END
32
33 Node-path: another-regular-file
34 Node-kind: file
35 Node-action: add
36 Prop-content-length: 10
37 Text-content-length: 0
38 Text-content-md5: d41d8cd98f00b204e9800998ecf8427e
39 Text-content-sha1: da39a3ee5e6b4b0d3255bfef95601890afd80709
40 Content-length: 10
41
42 PROPS-END
43
44
45 Node-path: executable-file
46 Node-kind: file
47 Node-action: add
48 Prop-content-length: 10
49 Text-content-length: 11
50 Text-content-md5: 01839ba8c81c3b2c7486607e0c683e62
51 Text-content-sha1: 5e70f8a25fe8ad4ad971bfd3388c258b019268d4
52 Content-length: 21
53
54 PROPS-END
55 Executable
56
57
58 Node-path: missing-file
59 Node-kind: file
60 Node-action: add
61 Prop-content-length: 10
62 Text-content-length: 0
63 Text-content-md5: d41d8cd98f00b204e9800998ecf8427e
64 Text-content-sha1: da39a3ee5e6b4b0d3255bfef95601890afd80709
65 Content-length: 10
66
67 PROPS-END
68
69
70 Node-path: regular-file
71 Node-kind: file
72 Node-action: add
73 Prop-content-length: 33
74 Text-content-length: 18
75 Text-content-md5: adf66a0cec83e25644c63f3c3007ae7c
76 Text-content-sha1: 047e6e482d0c9cb812f89d18a9f07a43caab76bb
77 Content-length: 51
78
79 K 11
80 svn:special
81 V 1
82 *
83 PROPS-END
84 link Bad contents.
85
86 Node-path: symlink
87 Node-kind: file
88 Node-action: add
89 Prop-content-length: 10
90 Text-content-length: 1
91 Text-content-md5: 7fc56270e7a70fa81a5935b72eacbe29
92 Text-content-sha1: 6dcd4ce23d88e2ee9568ba546c007c63d9131c1b
93 Content-length: 11
94
95 PROPS-END
96 A
97