shtk_cvs_update
—
Updates an existing working copy of a CVS repository
shtk_cvs_update |
cvsroot tag
directory |
The shtk_cvs_update
function updates the existing
working copy in directory from the CVS repository
provided in cvsroot and tag. The
CVS tag provided in tag can be empty, in which case the
working copy is bought back up to ‘HEAD’.
In general, you should resort to using the higher-level
shtk_cvs_fetch(3)
wrapper as it properly handles the case of missing working copies.
shtk_cvs_update :ext:anoncvs@anoncvs.NetBSD.org:/cvsroot \
netbsd-7 /usr/src
shtk_cvs_update
aborts execution with an error if the
given directory does not yet exist or if the CVS update
operation fails.
shtk_cvs_update
first appeared in
shtk
1.0.