SHTK_CVS_UPDATE(3)

NAME
shtk_cvs_update - Updates an existing working copy of a CVS repository

LIBRARY
shtk_import cvs

SYNOPSIS
shtk_cvs_update cvsroot tag directory

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

EXAMPLES

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

ERRORS
shtk_cvs_update aborts execution with an error if the given directory does not yet exist or if the CVS update operation fails.

SEE ALSO
shtk(3), shtk_cvs(3)

HISTORY
shtk_cvs_update first appeared in shtk 1.0.