diff options
author | Matthias Urlichs <smurf@smurf.noris.de> | 2005-10-10 18:45:00 +0200 |
---|---|---|
committer | Matthias Urlichs <smurf@smurf.noris.de> | 2005-10-10 18:45:00 +0200 |
commit | 3ef378a67b5b39441837700ab4dfb800eb443c5a (patch) | |
tree | ef1fe5a23fc7d49b46906e014de9cf2af9468070 /Documentation/git-svnimport.txt | |
parent | e7e477dfacecaf362f08a65644d806da5231a9f0 (diff) | |
download | git-3ef378a67b5b39441837700ab4dfb800eb443c5a.tar.gz git-3ef378a67b5b39441837700ab4dfb800eb443c5a.tar.xz |
svn import: Add a loop limit option
The svn library has a serious memory leak.
Added a new option (-l NUM) which causes git-svnimport to exit cleanly
after fetching that many changes, in order to .
Signed-Off-By: Matthias Urlichs <smurf@smurf.noris.de>
Diffstat (limited to 'Documentation/git-svnimport.txt')
-rw-r--r-- | Documentation/git-svnimport.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Documentation/git-svnimport.txt b/Documentation/git-svnimport.txt index a144c6c31..047f8f334 100644 --- a/Documentation/git-svnimport.txt +++ b/Documentation/git-svnimport.txt @@ -10,7 +10,7 @@ git-svnimport - Import a SVN repository into git SYNOPSIS -------- 'git-svnimport' [ -o <branch-for-HEAD> ] [ -h ] [ -v ] - [ -C <GIT_repository> ] [ -i ] [ -u ] + [ -C <GIT_repository> ] [ -i ] [ -u ] [-l limit_nr_changes] [ -b branch_subdir ] [ -t trunk_subdir ] [ -T tag_subdir ] [ -s start_chg ] [ -m ] [ -M regex ] [ <SVN_repository_URL> ] @@ -70,6 +70,15 @@ When importing incementally, you might need to edit the .git/svn2git file. regex. It can be used with -m to also see the default regexes. You must escape forward slashes. +-l <max_num_changes>:: + Limit the number of SVN changesets we pull before quitting. + This option is necessary because the SVN library has serious memory + leaks; the recommended value for nontrivial imports is 100. + + git-svnimport will still exit with a zero exit code. You can check + the size of the file ".git/svn2git" to determine whether to call + the importer again. + -v:: Verbosity: let 'svnimport' report what it is doing. |