Show More
@@ -209,19 +209,18 b' class convert_svn(converter_source):' | |||
|
209 | 209 | self.ui.debug('Ignoring %r since it is not under %r\n' % (path, module)) |
|
210 | 210 | return None |
|
211 | 211 | |
|
212 | received = [] | |
|
213 | def rcvr(*arg, **args): | |
|
212 | def parselogentry(*arg, **args): | |
|
214 | 213 | orig_paths, revnum, author, date, message, pool = arg |
|
215 |
|
|
|
216 | rcvr2(new_orig_paths, revnum, author, date, message, pool) | |
|
214 | orig_paths = svn_paths(orig_paths) | |
|
217 | 215 | |
|
218 | def rcvr2(orig_paths, revnum, author, date, message, pool, better_paths = None): | |
|
219 |
|
|
|
220 | received.append((orig_paths, revnum, author, date, message)) | |
|
216 | if self.is_blacklisted(revnum): | |
|
217 | self.ui.note('skipping blacklisted revision %d\n' % revnum) | |
|
218 | return | |
|
219 | ||
|
220 | self.ui.note("parsing revision %d\n" % revnum) | |
|
221 | 221 | |
|
222 | def after_received(orig_paths, revnum, author, date, message): | |
|
223 | self.ui.note("parsing revision %d\n" % revnum) | |
|
224 | 222 | if orig_paths is None: |
|
223 | self.ui.debug('revision %d has no entries\n' % revnum) | |
|
225 | 224 | return |
|
226 | 225 | |
|
227 | 226 | if revnum in self.modulemap: |
@@ -437,10 +436,9 b' class convert_svn(converter_source):' | |||
|
437 | 436 | try: |
|
438 | 437 | discover_changed_paths = True |
|
439 | 438 | strict_node_history = False |
|
440 | svn.ra.get_log(self.ra, [self.module], from_revnum, to_revnum, | |
|
441 |
|
|
|
442 | for args in received: | |
|
443 | after_received(*args) | |
|
439 | svn.ra.get_log(self.ra, [self.module], from_revnum, to_revnum, 0, | |
|
440 | discover_changed_paths, strict_node_history, | |
|
441 | parselogentry) | |
|
444 | 442 | self.last_revnum = to_revnum |
|
445 | 443 | except SubversionException, (_, num): |
|
446 | 444 | if num == svn.core.SVN_ERR_FS_NO_SUCH_REVISION: |
General Comments 0
You need to be logged in to leave comments.
Login now