Mercurial > hgsubversion
comparison tests/fixtures/symlinks.svndump @ 97:0d3a2a7cefa3
hg_delta_editor: fix symlink prefix confusion
- SubversionRepo.get_file() strips the symlink prefix
- Enforce that hg_delta_editor symlink data always contains the prefix. The
alternative was seducing and more consistent with hg content but it makes the
code more complicated since svn:special can be set before or after the content
is set, and we need it in apply_textdelta()
This issue fixes jQuery repository conversion at r3674.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Thu, 20 Nov 2008 22:41:15 -0600 |
parents | |
children | 24a64fb0e74b |
comparison
equal
deleted
inserted
replaced
96:9b5e528f67f8 | 97:0d3a2a7cefa3 |
---|---|
1 SVN-fs-dump-format-version: 2 | |
2 | |
3 UUID: 0155d33a-8628-44e5-a968-540cca8db82a | |
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-11-16T15:00:25.793049Z | |
13 PROPS-END | |
14 | |
15 Revision-number: 1 | |
16 Prop-content-length: 114 | |
17 Content-length: 114 | |
18 | |
19 K 7 | |
20 svn:log | |
21 V 12 | |
22 init project | |
23 K 10 | |
24 svn:author | |
25 V 7 | |
26 pmezard | |
27 K 8 | |
28 svn:date | |
29 V 27 | |
30 2008-11-16T15:00:25.873999Z | |
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: trunk | |
43 Node-kind: dir | |
44 Node-action: add | |
45 Prop-content-length: 10 | |
46 Content-length: 10 | |
47 | |
48 PROPS-END | |
49 | |
50 | |
51 Revision-number: 2 | |
52 Prop-content-length: 114 | |
53 Content-length: 114 | |
54 | |
55 K 7 | |
56 svn:log | |
57 V 12 | |
58 add symlinks | |
59 K 10 | |
60 svn:author | |
61 V 7 | |
62 pmezard | |
63 K 8 | |
64 svn:date | |
65 V 27 | |
66 2008-11-16T15:00:26.214702Z | |
67 PROPS-END | |
68 | |
69 Node-path: trunk/a | |
70 Node-kind: file | |
71 Node-action: add | |
72 Prop-content-length: 10 | |
73 Text-content-length: 2 | |
74 Text-content-md5: 60b725f10c9c85c70d97880dfe8191b3 | |
75 Content-length: 12 | |
76 | |
77 PROPS-END | |
78 a | |
79 | |
80 | |
81 Node-path: trunk/d | |
82 Node-kind: dir | |
83 Node-action: add | |
84 Prop-content-length: 10 | |
85 Content-length: 10 | |
86 | |
87 PROPS-END | |
88 | |
89 | |
90 Node-path: trunk/d/linka | |
91 Node-kind: file | |
92 Node-action: add | |
93 Prop-content-length: 33 | |
94 Text-content-length: 6 | |
95 Text-content-md5: c118dba188202a1efc975bef6064180b | |
96 Content-length: 39 | |
97 | |
98 K 11 | |
99 svn:special | |
100 V 1 | |
101 * | |
102 PROPS-END | |
103 link a | |
104 | |
105 Node-path: trunk/linka | |
106 Node-kind: file | |
107 Node-action: add | |
108 Prop-content-length: 33 | |
109 Text-content-length: 6 | |
110 Text-content-md5: c118dba188202a1efc975bef6064180b | |
111 Content-length: 39 | |
112 | |
113 K 11 | |
114 svn:special | |
115 V 1 | |
116 * | |
117 PROPS-END | |
118 link a | |
119 | |
120 Revision-number: 3 | |
121 Prop-content-length: 117 | |
122 Content-length: 117 | |
123 | |
124 K 7 | |
125 svn:log | |
126 V 15 | |
127 moving symlinks | |
128 K 10 | |
129 svn:author | |
130 V 7 | |
131 pmezard | |
132 K 8 | |
133 svn:date | |
134 V 27 | |
135 2008-11-16T15:00:29.163300Z | |
136 PROPS-END | |
137 | |
138 Node-path: trunk/d2 | |
139 Node-kind: dir | |
140 Node-action: add | |
141 Node-copyfrom-rev: 2 | |
142 Node-copyfrom-path: trunk/d | |
143 Prop-content-length: 34 | |
144 Content-length: 34 | |
145 | |
146 K 13 | |
147 svn:mergeinfo | |
148 V 0 | |
149 | |
150 PROPS-END | |
151 | |
152 | |
153 Node-path: trunk/linkaa | |
154 Node-kind: file | |
155 Node-action: add | |
156 Node-copyfrom-rev: 2 | |
157 Node-copyfrom-path: trunk/linka | |
158 Text-copy-source-md5: c118dba188202a1efc975bef6064180b | |
159 Prop-content-length: 57 | |
160 Content-length: 57 | |
161 | |
162 K 11 | |
163 svn:special | |
164 V 1 | |
165 * | |
166 K 13 | |
167 svn:mergeinfo | |
168 V 0 | |
169 | |
170 PROPS-END | |
171 | |
172 | |
173 Node-path: trunk/linka | |
174 Node-action: delete | |
175 | |
176 | |
177 Node-path: trunk/d | |
178 Node-action: delete | |
179 | |
180 | |
181 Revision-number: 4 | |
182 Prop-content-length: 117 | |
183 Content-length: 117 | |
184 | |
185 K 7 | |
186 svn:log | |
187 V 15 | |
188 update symlinks | |
189 K 10 | |
190 svn:author | |
191 V 7 | |
192 pmezard | |
193 K 8 | |
194 svn:date | |
195 V 27 | |
196 2008-11-16T15:00:30.171883Z | |
197 PROPS-END | |
198 | |
199 Node-path: trunk/d2/linka | |
200 Node-kind: file | |
201 Node-action: change | |
202 Text-content-length: 6 | |
203 Text-content-md5: e9292b8c4fca95ac8c70b4ae040d0b79 | |
204 Content-length: 6 | |
205 | |
206 link b | |
207 | |
208 Node-path: trunk/linkaa | |
209 Node-kind: file | |
210 Node-action: change | |
211 Text-content-length: 6 | |
212 Text-content-md5: e9292b8c4fca95ac8c70b4ae040d0b79 | |
213 Content-length: 6 | |
214 | |
215 link b | |
216 |