https://bugzilla.wikimedia.org/show_bug.cgi?id=29636

--- Comment #2 from Brion Vibber <[email protected]> 2011-06-29 19:23:12 UTC 
---
svnImport.php is mainly intended to be run for initial setup, and grabs batches
of $wgCodeReviewImportBatchSize (default 400) revisions starting from #1.

If you ask for too many, the entire fetch request fails and it backs off (400
=> 100 => 25 => 6 => 1) until it finds a small enough number to complete the
last batches. This is probably not super efficient for the case where usually
there will be 0 or a handful of new commits.

Need to either add some kind of logic to request the current HEAD revision from
the repository, or consider ways to have it ramp _up_ from one or two commits
at a time to larger chunks if it turns out we're way behind (if we have 10000
revs to catch up on, we don't want to do 10k server round-trips in series!)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to