Show More
@@ -439,8 +439,9 class svn_source(converter_source): | |||||
439 | pendings = [] |
|
439 | pendings = [] | |
440 | tagspath = self.tags |
|
440 | tagspath = self.tags | |
441 | start = svn.ra.get_latest_revnum(self.ra) |
|
441 | start = svn.ra.get_latest_revnum(self.ra) | |
|
442 | stream = self._getlog([self.tags], start, self.startrev) | |||
442 | try: |
|
443 | try: | |
443 | for entry in self._getlog([self.tags], start, self.startrev): |
|
444 | for entry in stream: | |
444 | origpaths, revnum, author, date, message = entry |
|
445 | origpaths, revnum, author, date, message = entry | |
445 | copies = [(e.copyfrom_path, e.copyfrom_rev, p) for p, e |
|
446 | copies = [(e.copyfrom_path, e.copyfrom_rev, p) for p, e | |
446 | in origpaths.iteritems() if e.copyfrom_path] |
|
447 | in origpaths.iteritems() if e.copyfrom_path] | |
@@ -509,9 +510,8 class svn_source(converter_source): | |||||
509 | pass |
|
510 | pass | |
510 | pendings = remainings |
|
511 | pendings = remainings | |
511 | tagspath = srctagspath |
|
512 | tagspath = srctagspath | |
512 |
|
513 | finally: | ||
513 | except SubversionException: |
|
514 | stream.close() | |
514 | self.ui.note(_('no tags found at revision %d\n') % start) |
|
|||
515 | return tags |
|
515 | return tags | |
516 |
|
516 | |||
517 | def converted(self, rev, destrev): |
|
517 | def converted(self, rev, destrev): |
@@ -1,6 +1,6 | |||||
1 | SVN-fs-dump-format-version: 2 |
|
1 | SVN-fs-dump-format-version: 2 | |
2 |
|
2 | |||
3 | UUID: 3c3c228a-b3dd-467c-a766-896f4b7cd0af |
|
3 | UUID: 644ede6c-2b81-4367-9dc8-d786514f2cde | |
4 |
|
4 | |||
5 | Revision-number: 0 |
|
5 | Revision-number: 0 | |
6 | Prop-content-length: 56 |
|
6 | Prop-content-length: 56 | |
@@ -9,7 +9,7 Content-length: 56 | |||||
9 | K 8 |
|
9 | K 8 | |
10 | svn:date |
|
10 | svn:date | |
11 | V 27 |
|
11 | V 27 | |
12 | 2009-06-21T12:38:53.023457Z |
|
12 | 2010-05-19T20:16:07.429098Z | |
13 | PROPS-END |
|
13 | PROPS-END | |
14 |
|
14 | |||
15 | Revision-number: 1 |
|
15 | Revision-number: 1 | |
@@ -27,7 +27,7 pmezard | |||||
27 | K 8 |
|
27 | K 8 | |
28 | svn:date |
|
28 | svn:date | |
29 | V 27 |
|
29 | V 27 | |
30 | 2009-06-21T12:38:53.111986Z |
|
30 | 2010-05-19T20:16:07.461283Z | |
31 | PROPS-END |
|
31 | PROPS-END | |
32 |
|
32 | |||
33 | Node-path: branches |
|
33 | Node-path: branches | |
@@ -39,15 +39,6 Content-length: 10 | |||||
39 | PROPS-END |
|
39 | PROPS-END | |
40 |
|
40 | |||
41 |
|
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 |
|
42 | Node-path: trunk | |
52 | Node-kind: dir |
|
43 | Node-kind: dir | |
53 | Node-action: add |
|
44 | Node-action: add | |
@@ -72,7 +63,7 pmezard | |||||
72 | K 8 |
|
63 | K 8 | |
73 | svn:date |
|
64 | svn:date | |
74 | V 27 |
|
65 | V 27 | |
75 | 2009-06-21T12:38:54.182594Z |
|
66 | 2010-05-19T20:16:08.121436Z | |
76 | PROPS-END |
|
67 | PROPS-END | |
77 |
|
68 | |||
78 | Node-path: branches/notinbranch |
|
69 | Node-path: branches/notinbranch | |
@@ -164,7 +155,7 pmezard | |||||
164 | K 8 |
|
155 | K 8 | |
165 | svn:date |
|
156 | svn:date | |
166 | V 27 |
|
157 | V 27 | |
167 | 2009-06-21T12:38:57.166484Z |
|
158 | 2010-05-19T20:16:11.113124Z | |
168 | PROPS-END |
|
159 | PROPS-END | |
169 |
|
160 | |||
170 | Node-path: branches/old |
|
161 | Node-path: branches/old | |
@@ -197,7 +188,7 pmezard | |||||
197 | K 8 |
|
188 | K 8 | |
198 | svn:date |
|
189 | svn:date | |
199 | V 27 |
|
190 | V 27 | |
200 | 2009-06-21T12:38:59.084420Z |
|
191 | 2010-05-19T20:16:13.060877Z | |
201 | PROPS-END |
|
192 | PROPS-END | |
202 |
|
193 | |||
203 | Node-path: trunk/a |
|
194 | Node-path: trunk/a | |
@@ -227,7 +218,7 pmezard | |||||
227 | K 8 |
|
218 | K 8 | |
228 | svn:date |
|
219 | svn:date | |
229 | V 27 |
|
220 | V 27 | |
230 | 2009-06-21T12:39:00.093201Z |
|
221 | 2010-05-19T20:16:14.066212Z | |
231 | PROPS-END |
|
222 | PROPS-END | |
232 |
|
223 | |||
233 | Node-path: branches/old/b |
|
224 | Node-path: branches/old/b | |
@@ -257,7 +248,7 pmezard | |||||
257 | K 8 |
|
248 | K 8 | |
258 | svn:date |
|
249 | svn:date | |
259 | V 27 |
|
250 | V 27 | |
260 | 2009-06-21T12:39:02.078633Z |
|
251 | 2010-05-19T20:16:16.069449Z | |
261 | PROPS-END |
|
252 | PROPS-END | |
262 |
|
253 | |||
263 | Node-path: branches/old/c |
|
254 | Node-path: branches/old/c | |
@@ -295,7 +286,7 pmezard | |||||
295 | K 8 |
|
286 | K 8 | |
296 | svn:date |
|
287 | svn:date | |
297 | V 27 |
|
288 | V 27 | |
298 | 2009-06-21T12:39:03.065537Z |
|
289 | 2010-05-19T20:16:17.070868Z | |
299 | PROPS-END |
|
290 | PROPS-END | |
300 |
|
291 | |||
301 | Node-path: branches/old/b |
|
292 | Node-path: branches/old/b | |
@@ -326,7 +317,7 pmezard | |||||
326 | K 8 |
|
317 | K 8 | |
327 | svn:date |
|
318 | svn:date | |
328 | V 27 |
|
319 | V 27 | |
329 | 2009-06-21T12:39:06.070275Z |
|
320 | 2010-05-19T20:16:20.063098Z | |
330 | PROPS-END |
|
321 | PROPS-END | |
331 |
|
322 | |||
332 | Node-path: branches/old2 |
|
323 | Node-path: branches/old2 | |
@@ -355,7 +346,7 pmezard | |||||
355 | K 8 |
|
346 | K 8 | |
356 | svn:date |
|
347 | svn:date | |
357 | V 27 |
|
348 | V 27 | |
358 | 2009-06-21T12:39:08.082539Z |
|
349 | 2010-05-19T20:16:22.062931Z | |
359 | PROPS-END |
|
350 | PROPS-END | |
360 |
|
351 | |||
361 | Node-path: branches/old |
|
352 | Node-path: branches/old | |
@@ -384,7 +375,7 pmezard | |||||
384 | K 8 |
|
375 | K 8 | |
385 | svn:date |
|
376 | svn:date | |
386 | V 27 |
|
377 | V 27 | |
387 | 2009-06-21T12:39:09.073290Z |
|
378 | 2010-05-19T20:16:23.075562Z | |
388 | PROPS-END |
|
379 | PROPS-END | |
389 |
|
380 | |||
390 | Node-path: trunk/a |
|
381 | Node-path: trunk/a | |
@@ -413,7 +404,7 pmezard | |||||
413 | K 8 |
|
404 | K 8 | |
414 | svn:date |
|
405 | svn:date | |
415 | V 27 |
|
406 | V 27 | |
416 | 2009-06-21T12:39:11.070264Z |
|
407 | 2010-05-19T20:16:25.107655Z | |
417 | PROPS-END |
|
408 | PROPS-END | |
418 |
|
409 | |||
419 | Node-path: branches/old3 |
|
410 | Node-path: branches/old3 |
General Comments 0
You need to be logged in to leave comments.
Login now