SHTK_CVS_UPDATE(3)
SHTK_CVS_UPDATE(3) Library Functions Manual SHTK_CVS_UPDATE(3)

shtk_cvs_updateUpdates an existing working copy of a CVS repository

shtk_import cvs

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(3), shtk_cvs(3)

shtk_cvs_update first appeared in shtk 1.0.

November 7, 2014 Debian