summaryrefslogtreecommitdiff
path: root/Documentation/git-svnimport.txt
diff options
context:
space:
mode:
authorSasha Khapyorsky <sashak@voltaire.com>2007-01-07 00:17:19 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-07 06:47:58 (GMT)
commit40006ea039b8d72cf6dce5816a50c8ba266833ee (patch)
treefd6513f5ca40159911eb99819b3405a938b7fc0e /Documentation/git-svnimport.txt
parent9fa77a51a49b16fa8886643d7f6346eb0a0601c5 (diff)
downloadgit-40006ea039b8d72cf6dce5816a50c8ba266833ee.zip
git-40006ea039b8d72cf6dce5816a50c8ba266833ee.tar.gz
git-40006ea039b8d72cf6dce5816a50c8ba266833ee.tar.bz2
git-svnimport: support for incremental import
This adds ability to do import "in chunks" (default 1000 revisions), after each chunk git repo will be repacked. The option -R is used to change default value of chunk size (or how often repository will repacked). Signed-off-by: Sasha Khapyorsky <sashak@voltaire.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-svnimport.txt')
-rw-r--r--Documentation/git-svnimport.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/Documentation/git-svnimport.txt b/Documentation/git-svnimport.txt
index 2c7c7da..b166cf3 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 <ignorefile_name> ] [ -A <author_file> ]
- [ -P <path_from_trunk> ]
+ [ -R <repack_each_revs>] [ -P <path_from_trunk> ]
<SVN_repository_URL> [ <path> ]
@@ -108,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.)
+-R <repack_each_revs>::
+ 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 <path_from_trunk>::
Partial import of the SVN tree.
+