DragonFly On-Line Manual Pages

Search: Section:  


SHTK_CVS_CHECKOUT(3)  DragonFly Library Functions Manual  SHTK_CVS_CHECKOUT(3)

NAME

shtk_cvs_checkout - Checks out a new working copy out of a CVS repository

LIBRARY

shtk_import cvs

SYNOPSIS

shtk_cvs_checkout cvsroot module tag directory

DESCRIPTION

The shtk_cvs_checkout function checks out a new working copy of the repository cvsroot into directory using the given module and tag. The directory must not exist. The CVS tag provided in tag can be empty, in which case the working copy is checked out from `HEAD'. In general, you should resort to using the higher-level shtk_cvs_fetch(3) wrapper as it properly handles the case of already existing working copies (which could be caused by a previously aborted checkout, for example).

EXAMPLES

shtk_cvs_checkout :ext:anoncvs@anoncvs.NetBSD.org:/cvsroot \ src netbsd-7 /usr/src

ERRORS

shtk_cvs_checkout aborts execution with an error if the given directory already exists or if the CVS checkout operation fails.

SEE ALSO

shtk(3), shtk_cvs(3)

HISTORY

shtk_cvs_checkout first appeared in shtk 1.0. DragonFly 6.5-DEVELOPMENT November 7, 2014 DragonFly 6.5-DEVELOPMENT

Search: Section: