comparison tests/fixtures/copies.svndump @ 960:502613f6b583

editor: ignore added or copied files excluded by a filemap Files brought by a copied add_directory() were processed despite being excluded by the filemap. This was also the case with added files. The conversion was still correct because they were eventually filtered out in the replay.convert_rev() but processing them in itself may be problematic. Filemaps are often use to exclude large binary files and before this change, some of them could be marked as missing and be fetched before being discarded. A test configuration entry named hgsubversion.failoninvalidreplayfile was added to help testing this case. It should become the default behaviour in the future.
author Patrick Mezard <patrick@mezard.eu>
date Sun, 14 Oct 2012 15:51:12 +0200
parents
children 8648ccfb8325
comparison
equal deleted inserted replaced
959:8b2480175bae 960:502613f6b583
1 SVN-fs-dump-format-version: 2
2
3 UUID: 707bea87-43e4-45d9-8f28-5d06ca9e3f3b
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 2012-10-14T12:41:39.387675Z
13 PROPS-END
14
15 Revision-number: 1
16 Prop-content-length: 105
17 Content-length: 105
18
19 K 10
20 svn:author
21 V 7
22 pmezard
23 K 8
24 svn:date
25 V 27
26 2012-10-14T12:41:39.409053Z
27 K 7
28 svn:log
29 V 4
30 init
31 PROPS-END
32
33 Node-path: trunk
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: trunk/dir
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/dir/a
52 Node-kind: file
53 Node-action: add
54 Prop-content-length: 10
55 Text-content-length: 2
56 Text-content-md5: 60b725f10c9c85c70d97880dfe8191b3
57 Text-content-sha1: 3f786850e387550fdab836ed7e6dc881de23001b
58 Content-length: 12
59
60 PROPS-END
61 a
62
63
64 Revision-number: 2
65 Prop-content-length: 123
66 Content-length: 123
67
68 K 10
69 svn:author
70 V 7
71 pmezard
72 K 8
73 svn:date
74 V 27
75 2012-10-14T12:41:41.048526Z
76 K 7
77 svn:log
78 V 21
79 copy/edit trunk/dir/a
80 PROPS-END
81
82 Node-path: trunk/dir2
83 Node-kind: dir
84 Node-action: add
85 Node-copyfrom-rev: 1
86 Node-copyfrom-path: trunk/dir
87
88
89 Node-path: trunk/dir2/a
90 Node-kind: file
91 Node-action: change
92 Text-content-length: 4
93 Text-content-md5: dd8c6a395b5dd36c56d23275028f526c
94 Text-content-sha1: 05dec960e24d918b8a73a1c53bcbbaac2ee5c2e0
95 Content-length: 4
96
97 a
98 b
99
100