SHTK_CVS_FETCH(3) | Library Functions Manual | SHTK_CVS_FETCH(3) |
shtk_cvs_fetch
—
Checks out or updates a CVS working copy
shtk_import cvs
shtk_cvs_fetch |
cvsroot module tag directory |
The shtk_cvs_fetch
function is a simple
wrapper over the lower-level
shtk_cvs_checkout(3) and
shtk_cvs_update(3)
functions, using one or the other depending on the status of the local
working copy.
More specifically: if directory does not yet
exist or it is empty, the shtk_cvs_fetch
function
checks out a new working copy of the repository
cvsroot into it using the given
module and tag. If
directory does exist and contains a
CVS control directory, then the
shtk_cvs_fetch
function performs a working copy
update of the repository using the given tag.
The CVS tag provided in tag can be empty, in which case the working copy is checked out from ‘HEAD’.
shtk_cvs_fetch :ext:anoncvs@anoncvs.NetBSD.org:/cvsroot \ src netbsd-7 /usr/src
shtk_cvs_fetch
first appeared in
shtk
1.0.
November 7, 2014 | Debian |