VCP::Dest::cvs(3pm)

VCP::Dest::cvs3pm

Cvs destination driver

Usage

   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.

Overview

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 "--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.

Releases

2 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1
  2. 4.0

Author

Barrie Slaymaker <[email protected]>

From libvcp-perl 0.9-20050110-1 in Debian 4.0 (Etch). Parsed by carta from the page's man source.