threads / patch / 43583

patchDocumentation: new option -P for git-svnimport

Subject: [PATCH] Documentation: new option -P for git-svnimport

## tl;dr

One message between Dec 17, 2006 and Dec 17, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Quy Tonthat· Dec 17, 2006, 14:50 UTC · lore
Documentation: new option -P for git-svnimport.
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
---
 Documentation/git-svnimport.txt |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
Show changes to Documentation/git-svnimport.txt +9 −0
diff --git a/Documentation/git-svnimport.txt b/Documentation/git-svnimport.txt
index b1b87c2..df604e1 100644
--- a/Documentation/git-svnimport.txt
+++ b/Documentation/git-svnimport.txt
@@ -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.
 
-- 
1.4.4.1.GIT

← back to recent threads