1git-cvsimport-script(1)
2=======================
3v0.1, July 2005
45
NAME
6----
7git-cvsimport-script - Import a CVS repository into git
89
10
SYNOPSIS
11--------
12'git-cvsimport-script' [ -o <branch-for-HEAD> ] [ -h ] [ -v ]
13[ -d <CVSROOT> ] [ -p <options-for-cvsps> ]
14[ -C <GIT_repository> ] [ -i ] [ <CVS_module> ]
1516
17
DESCRIPTION
18-----------
19Imports a CVS repository into git. It will either create a new
20repository, or incrementally import into an existing one.
2122
Splitting the CVS log into patch sets is done by 'cvsps'.
23At least version 2.1 is required.
2425
OPTIONS
26-------
27-d <CVSROOT>::
28The root of the CVS archive. May be local (a simple path) or remote;
29currently, only the :local:, :ext: and :pserver: access methods
30are supported.
3132
-C <target-dir>::
33The GIT repository to import to. If the directory doesn't
34exist, it will be created. Default is the current directory.
3536
-i::
37Import-only: don't perform a checkout after importing. This option
38ensures the working directory and cache remain untouched and will
39not create them if they do not exist.
4041
-o <branch-for-HEAD>::
42The 'HEAD' branch from CVS is imported to the 'origin' branch within
43the git repository, as 'HEAD' already has a special meaning for git.
44Use this option if you want to import into a different branch.
4546
Use '-o master' for continuing an import that was initially done by
47the old cvs2git tool.
4849
-p <options-for-cvsps>::
50Additional options for cvsps.
51The options '-u' and '-A' are implicit and should not be used here.
5253
If you need to pass multiple options, separate them with a comma.
5455
-v::
56Verbosity: let 'cvsimport' report what it is doing.
5758
<CVS_module>::
59The CVS module you want to import. Relative to <CVSROOT>.
6061
-h::
62Print a short usage message and exit.
6364
-z <fuzz>::
65Pass the timestamp fuzz factor to cvsps.
6667
OUTPUT
68------
69If '-v' is specified, the script reports what it is doing.
7071
Otherwise, success is indicated the Unix way, i.e. by simply exiting with
72a zero exit status.
7374
75
Author
76------
77Written by Matthias Urlichs <smurf@smurf.noris.de>, with help from
78various participants of the git-list <git@vger.kernel.org>.
7980
Documentation
81--------------
82Documentation by Matthias Urlichs <smurf@smurf.noris.de>.
8384
GIT
85---
86Part of the link:git.html[git] suite
87