Skip to contentSkip to conversation

Documentation: new option -P for git-svnimport

PATCH New Quy Tonthat 1 participant 1 message Aug 11, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: new option -P for git-svnimport

Documentation: new option -P for git-svnimport.

---
 Documentation/git-svnimport.txt |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
Documentation/git-svnimport.txt +9 -0
index b1b87c2..df604e1 100644
@@ -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.
 
Signature · 1 line
1.4.4.1.GIT