HomePhabricator

CodeReview: Added a new 'precache' argument to svnImport.php. If omitted it…

Authored by HappyDog.

Description

CodeReview: Added a new 'precache' argument to svnImport.php. If omitted it defaults to the previous hard-coded value of 50. Can be used to increase or decrease the number of revisions to pre-cache, but more usefully can be set to 0 to skip pre-caching or -1 to pre-cache all revisions (useful when adding a repository to MW).

I also amended the SQL (now on line 97) so that it skips rows that have already had the diff filled in.

Details

Committed
HappyDogFeb 15 2010, 10:20 AM
Parents
rECRE7980060f100f: CodeReview: Added a canConnect() function to the SubversionAdaptor class. This…
Branches
Unknown
Tags
Unknown
ChangeId
None