Code

Documentation: new option -P for git-svnimport
authorQuy Tonthat <qtonthat@gmail.com>
Sun, 17 Dec 2006 14:50:12 +0000 (01:50 +1100)
committerJunio C Hamano <junkio@cox.net>
Sun, 17 Dec 2006 18:31:11 +0000 (10:31 -0800)
Documentation: new option -P for git-svnimport.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-svnimport.txt

index b1b87c2fcd9b60aef6fb937bd4d28572f1cb8463..df604e15ec96fed45e010605b5ca0a6929738d55 100644 (file)
@@ -15,6 +15,7 @@ SYNOPSIS
                [ -b branch_subdir ] [ -T trunk_subdir ] [ -t tag_subdir ]
                [ -s start_chg ] [ -m ] [ -r ] [ -M regex ]
                [ -I <ignorefile_name> ] [ -A <author_file> ]
+               [ -P <path_from_trunk> ]
                <SVN_repository_URL> [ <path> ]
 
 
@@ -107,6 +108,14 @@ repository without -A.
        Formerly, this option controlled how many revisions to pull,
        due to SVN memory leaks. (These have been worked around.)
 
+-P <path_from_trunk>::
+       Partial import of the SVN tree.
+
+       By default, the whole tree on the SVN trunk (/trunk) is imported.
+       '-P my/proj' will import starting only from '/trunk/my/proj'.
+       This option is useful when you want to import one project from a
+       svn repo which hosts multiple projects under the same trunk.
+
 -v::
        Verbosity: let 'svnimport' report what it is doing.