X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-svnimport.txt;h=5c543d5d1b40d1d60be27ad784c3917165037055;hb=db8c6ec4d67d54e932ff289f974e38a59a134702;hp=f8dbee70961f932e1c2be29bd11d862d9b1c002c;hpb=1a4e841b439ba014b365999c3a6b9e2be3740bd8;p=git.git diff --git a/git-svnimport.txt b/git-svnimport.txt index f8dbee70..5c543d5d 100644 --- a/git-svnimport.txt +++ b/git-svnimport.txt @@ -11,7 +11,7 @@ SYNOPSIS -------- 'git-svnimport' [ -o ] [ -h ] [ -v ] [ -d | -D ] [ -C ] [ -i ] [ -u ] [-l limit_rev] - [ -b branch_subdir ] [ -t trunk_subdir ] [ -T tag_subdir ] + [ -b branch_subdir ] [ -T trunk_subdir ] [ -t tag_subdir ] [ -s start_chg ] [ -m ] [ -M regex ] [ ] @@ -21,7 +21,7 @@ DESCRIPTION Imports a SVN repository into git. It will either create a new repository, or incrementally import into an existing one. -SVN access is done by the SVN:: Perl module. +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" @@ -40,17 +40,17 @@ OPTIONS -s :: Start importing at this SVN change number. The default is 1. + -When importing incementally, you might need to edit the .git/svn2git file. +When importing incrementally, you might need to edit the .git/svn2git file. -i:: Import-only: don't perform a checkout after importing. This option ensures the working directory and index remain untouched and will not create them if they do not exist. --t :: +-T :: Name the SVN trunk. Default "trunk". --T :: +-t :: Name the SVN subdirectory for tags. Default "tags". -b :: @@ -61,6 +61,10 @@ When importing incementally, you might need to edit the .git/svn2git file. the git repository. Use this option if you want to import into a different branch. +-r:: + Prepend 'rX: ' to commit messages, where X is the imported + subversion revision. + -m:: Attempt to detect merges based on the commit message. This option will enable default regexes that try to capture the name source @@ -74,8 +78,8 @@ When importing incementally, you might need to edit the .git/svn2git file. -l :: Specify a maximum revision number to pull. - Formerly, this option controlled how many revisions to pull, due to - SVN memory leaks. (These have been worked around.) + Formerly, this option controlled how many revisions to pull, + due to SVN memory leaks. (These have been worked around.) -v:: Verbosity: let 'svnimport' report what it is doing. @@ -100,11 +104,7 @@ with a 40x error pretty quickly. If you're using the "-d" or "-D" option, this is the URL of the SVN repository itself; it usually ends in "/svn". -:: - The URL of the SVN module you want to import. For local - repositories, use "file:///absolute/path". - - +:: The path to the module you want to check out. -h::