FreeBSD Manual Pages
SHTK_CVS_CHECKOUT(3) FreeBSD Library Functions Manual SHTK_CVS_CHECKOUT(3) NAME shtk_cvs_checkout -- Checks out a new working copy out of a CVS reposi- tory 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 exam- ple). 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. FreeBSD 13.0 November 7, 2014 FreeBSD 13.0
NAME | LIBRARY | SYNOPSIS | DESCRIPTION | EXAMPLES | ERRORS | SEE ALSO | HISTORY
Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=shtk_cvs_checkout&sektion=3&manpath=FreeBSD+13.1-RELEASE+and+Ports>