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

FreeBSD Manual Pages

  
 
  

home | help
SHTK_CVS_FETCH(3)      FreeBSD Library Functions Manual	     SHTK_CVS_FETCH(3)

NAME
     shtk_cvs_fetch -- Checks out or updates a CVS working copy

LIBRARY
     shtk_import cvs

SYNOPSIS
     shtk_cvs_fetch cvsroot module tag directory

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

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

SEE ALSO
     shtk(3), shtk_cvs(3)

HISTORY
     shtk_cvs_fetch first appeared in shtk 1.0.

FreeBSD	13.0		       November	7, 2014			  FreeBSD 13.0

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | EXAMPLES | SEE ALSO | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=shtk_cvs_fetch&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help