X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-svnimport.txt;h=71aad8b45bd4c5f59c2ce3746cb3299821729c2a;hb=04222b245c5e0d49242ef1ca995fadd5fa082cd3;hp=2c7c7dad54b5d2c773194b494d98ea521bc54d2f;hpb=5b85143ba548c6c0c35df5e606ee3568c55ca0da;p=git.git diff --git a/Documentation/git-svnimport.txt b/Documentation/git-svnimport.txt index 2c7c7dad5..71aad8b45 100644 --- a/Documentation/git-svnimport.txt +++ b/Documentation/git-svnimport.txt @@ -15,7 +15,7 @@ SYNOPSIS [ -b branch_subdir ] [ -T trunk_subdir ] [ -t tag_subdir ] [ -s start_chg ] [ -m ] [ -r ] [ -M regex ] [ -I ] [ -A ] - [ -P ] + [ -R ] [ -P ] [ ] @@ -27,7 +27,7 @@ repository, or incrementally import into an existing one. SVN access is done by the SVN::Perl module. git-svnimport assumes that SVN repositories are organized into one -"trunk" directory where the main development happens, "branch/FOO" +"trunk" directory where the main development happens, "branches/FOO" directories for branches, and "/tags/FOO" directories for tags. Other subdirectories are ignored. @@ -68,6 +68,9 @@ When importing incrementally, you might need to edit the .git/svn2git file. Prepend 'rX: ' to commit messages, where X is the imported subversion revision. +-u:: + Replace underscores in tag names with periods. + -I :: Import the svn:ignore directory property to files with this name in each directory. (The Subversion and GIT ignore @@ -108,6 +111,14 @@ repository without -A. Formerly, this option controlled how many revisions to pull, due to SVN memory leaks. (These have been worked around.) +-R :: + Specify how often git repository should be repacked. ++ +The default value is 1000. git-svnimport will do import in chunks of 1000 +revisions, after each chunk git repository will be repacked. To disable +this behavior specify some big value here which is mote than number of +revisions to import. + -P :: Partial import of the SVN tree. + @@ -166,4 +177,3 @@ Documentation by Matthias Urlichs . GIT --- Part of the gitlink:git[7] suite -