Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SHTK_CVS_CHECKOUT(3)	     Library Functions Manual	    SHTK_CVS_CHECKOUT(3)

NAME
     shtk_cvs_checkout -- Checks out a new working copy out of a CVS repository

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 reposi-
     tory  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 example).

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 al-
     ready 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 ports 15.quarterly	November 7, 2014	    SHTK_CVS_CHECKOUT(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=shtk_cvs_checkout&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help