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

shtk_cvs_checkoutChecks out a new working copy out of a CVS repository

shtk_import cvs

shtk_cvs_checkout cvsroot module tag directory

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

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

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

shtk(3), shtk_cvs(3)

shtk_cvs_checkout first appeared in shtk 1.0.

November 7, 2014 Debian