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> ] [ -i ] [ <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 :local:, :ext: and :pserver: access methods 30 are supported. 31 32-i:: 33 Import-only: don't perform a checkout after importing. This option 34 ensures the working directory and cache remain untouched and will 35 not create them if they do not exist. 36 37-o <branch-for-HEAD>:: 38 The 'HEAD' branch from CVS is imported to the 'origin' branch within 39 the git repository, as 'HEAD' already has a special meaning for git. 40 Use this option if you want to import into a different branch. 41 42 Use '-o master' for continuing an import that was initially done by 43 the old cvs2git tool. 44 45-p <options-for-cvsps>:: 46 Additional options for cvsps. 47 The options '-x' and '-A' are implicit and should not be used here. 48 49 If you need to pass multiple options, separate them with a comma. 50 51-v:: 52 Verbosity: let 'cvsimport' report what it is doing. 53 54<CVS_module>:: 55 The CVS module you want to import. Relative to <CVSROOT>. 56 57-h:: 58 Print a short usage message and exit. 59 60OUTPUT 61------ 62If '-v' is specified, the script reports what it is doing. 63 64Otherwise, success is indicated the Unix way, i.e. by simply exiting with 65a zero exit status. 66 67 68Author 69------ 70Written by Matthias Urlichs <smurf@smurf.noris.de>, with help from 71various participants of the git-list <git@vger.kernel.org>. 72 73Documentation 74-------------- 75Documentation by Matthias Urlichs <smurf@smurf.noris.de>. 76 77GIT 78--- 79Part of the link:git.html[git] suite 80