Show More
@@ -292,7 +292,15 b' class svn_source(converter_source):' | |||
|
292 | 292 | uuid, module, revnum = self.revsplit(rev) |
|
293 | 293 | self.module = module |
|
294 | 294 | self.reparent(module) |
|
295 | # We assume that: | |
|
296 | # - requests for revisions after "stop" come from the | |
|
297 | # revision graph backward traversal. Cache all of them | |
|
298 | # down to stop, they will be used eventually. | |
|
299 | # - requests for revisions before "stop" come to get | |
|
300 | # isolated branches parents. Just fetch what is needed. | |
|
295 | 301 | stop = self.lastrevs.get(module, 0) |
|
302 | if revnum < stop: | |
|
303 | stop = revnum + 1 | |
|
296 | 304 | self._fetch_revisions(revnum, stop) |
|
297 | 305 | commit = self.commits[rev] |
|
298 | 306 | # caller caches the result, so free it here to release memory |
General Comments 0
You need to be logged in to leave comments.
Login now