]> git.ipfire.org Git - thirdparty/git.git/blob - Documentation/git-cvsimport-script.txt
[PATCH] Fixed two bugs in git-cvsimport-script.
[thirdparty/git.git] / Documentation / git-cvsimport-script.txt
1 git-cvsimport-script(1)
2 =======================
3 v0.1, July 2005
4
5 NAME
6 ----
7 git-cvsimport-script - Import a CVS repository into git
8
9
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> ]
15
16
17 DESCRIPTION
18 -----------
19 Imports a CVS repository into git. It will either create a new
20 repository, or incrementally import into an existing one.
21
22 Splitting the CVS log into patch sets is done by 'cvsps'.
23 At least version 2.1 is required.
24
25 OPTIONS
26 -------
27 -d <CVSROOT>::
28 The root of the CVS archive. May be local (a simple path) or remote;
29 currently, only the :local:, :ext: and :pserver: access methods
30 are supported.
31
32 -C <target-dir>::
33 The GIT repository to import to. If the directory doesn't
34 exist, it will be created. Default is the current directory.
35
36 -i::
37 Import-only: don't perform a checkout after importing. This option
38 ensures the working directory and cache remain untouched and will
39 not create them if they do not exist.
40
41 -o <branch-for-HEAD>::
42 The 'HEAD' branch from CVS is imported to the 'origin' branch within
43 the git repository, as 'HEAD' already has a special meaning for git.
44 Use this option if you want to import into a different branch.
45
46 Use '-o master' for continuing an import that was initially done by
47 the old cvs2git tool.
48
49 -p <options-for-cvsps>::
50 Additional options for cvsps.
51 The options '-u' and '-A' are implicit and should not be used here.
52
53 If you need to pass multiple options, separate them with a comma.
54
55 -v::
56 Verbosity: let 'cvsimport' report what it is doing.
57
58 <CVS_module>::
59 The CVS module you want to import. Relative to <CVSROOT>.
60
61 -h::
62 Print a short usage message and exit.
63
64 -z <fuzz>::
65 Pass the timestamp fuzz factor to cvsps.
66
67 OUTPUT
68 ------
69 If '-v' is specified, the script reports what it is doing.
70
71 Otherwise, success is indicated the Unix way, i.e. by simply exiting with
72 a zero exit status.
73
74
75 Author
76 ------
77 Written by Matthias Urlichs <smurf@smurf.noris.de>, with help from
78 various participants of the git-list <git@vger.kernel.org>.
79
80 Documentation
81 --------------
82 Documentation by Matthias Urlichs <smurf@smurf.noris.de>.
83
84 GIT
85 ---
86 Part of the link:git.html[git] suite
87