man VCP::Dest::cvs () - cvs destination driver

NAME

VCP::Dest::cvs - cvs destination driver

SYNOPSIS

   vcp <source> cvs:module
   vcp <source> cvs::pserver:cvs.foo.com:module
   vcp <source> cvs:/path/to/cvsroot:module --init-cvsroot
   vcp <source> cvs:/path/to/cvsroot:module --init-cvsroot --delete-cvsroot

where module is a cvs module or directory that already exists within CVS.

DESCRIPTION

This driver allows vcp to insert revisions in to a CVS repository.

Checks out the indicated module or directory in to a temporary directory and use it to add, delete, and alter files.

If the module does not exist it is created with cvs import.

TODO: Skip all directories named CVS, in case a CVS tree is being imported. Perhaps make it fatal, but use an option to allow it. In this case, CVS directories can be detected by scanning revs before doing anything.

OPTIONS

--init-cvsroot
Initializes a cvs repository in the directory indicated in the cvs CVSROOT spec. Refuses to init a non-empty directory.
--delete-cvsroot
If CW--init-cvsroot is passed and the target directory is not empty, it will be deleted. THIS IS DANGEROUS AND SHOULD ONLY BE USED IN TEST ENVIRONMENTS.

LIMITATIONS

Does not handle clone revisions properly. clone revisions are generated by VCP::Source::cvs when a branch is given two branch tags. See VCP::Source::cvs for more details.

AUTHOR

Barrie Slaymaker <barries@slaysys.com>

COPYRIGHT

Copyright (c) 2000, 2001, 2002 Perforce Software, Inc. All rights reserved.

See VCP::License (CWvcp help license) for the terms of use.