1git-cvsimport-script(1) 2======================= 3v0.1, July 2005 4 5NAME 6---- 7git-cvsimport-script - Import a CVS repository into git 8 9 10SYNOPSIS 11-------- 12'git-cvsimport-script' [ -o <branch-for-HEAD> ] [ -h ] [ -v ] 13 [ -d <CVSROOT> ] [ -p <options-for-cvsps> ] 14 [ -C <GIT_repository> ] [ <CVS_module> ] 15 16 17DESCRIPTION 18----------- 19Imports a CVS repository into git. It will either create a new 20repository, or incrementally import into an existing one. 21 22Splitting the CVS log into patch sets is done by 'cvsps'. 23At least version 2.1 is required. 24 25OPTIONS 26------- 27-d <CVSROOT>:: 28 The root of the CVS archive. May be local (a simple path) or remote; 29 currently, only the :pserver: access method is supported. 30 31-o <branch-for-HEAD>:: 32 The 'HEAD' branch from CVS is imported to the 'origin' branch within 33 the git repository, as 'HEAD' already has a special meaning for git. 34 Use this option if you want to import into a different branch. 35 36 Use '-o master' for continuing an import that was initially done by 37 the old cvs2git tool. 38 39-p <options-for-cvsps>:: 40 Additional options for cvsps. 41 The options '-x' and '-A' are implicit and should not be used here. 42 43 If you need to pass multiple options, separate them with a comma. 44 45-v:: 46 Verbosity: let 'cvsimport' report what it is doing. 47 48<CVS_module>:: 49 The CVS module you want to import. Relative to <CVSROOT>. 50 51<type>:: 52 Typically this matches the real type of <object> but asking 53 for a type that can trivially dereferenced from the given 54 <object> is also permitted. An example is to ask for a 55 "tree" with <object> being a commit object that contains it, 56 or to ask for a "blob" with <object> being a tag object that 57 points at it. 58 59-h:: 60 Print a short usage message and exit. 61 62OUTPUT 63------ 64If '-v' is specified, the script reports what it is doing. 65 66Otherwise, success is indicated the Unix way, i.e. by simply exiting with 67a zero exit status. 68 69 70Author 71------ 72Written by Matthias Urlichs <smurf@smurf.noris.de>, with help from 73various participants of the git-list <git@vger.kernel.org>. 74 75Documentation 76-------------- 77Documentation by Matthias Urlichs <smurf@smurf.noris.de>. 78 79GIT 80--- 81Part of the link:git.html[git] suite 82