svn_checkoutChecks out a working copy from the repository
&reftitle.description;
boolsvn_checkoutstringreposstringtargetpathintrevisionintflags0
Checks out a working copy from the repository at repos
to targetpath at revision revision.
&reftitle.parameters;
repos
String URL path to directory in repository to check out.
targetpath
String local path to directory to check out in to
&svn.relativepath;
revision
Integer revision number of repository to check out. Default is
HEAD, the most recent revision.
flags
Any combination of SVN_NON_RECURSIVE and
SVN_IGNORE_EXTERNALS.
&reftitle.returnvalues;
&return.success;
&reftitle.notes;
&warn.experimental.func;
&reftitle.examples;
Basic example
This example demonstrates how to check out a directory from
a repository to a directory named calc:
]]>
The dirname(__FILE__) call is necessary in order
to convert the calc relative path into an absolute one. If calc
exists, you can also use realpath to retrieve
an absolute path.
&reftitle.seealso;
svn_addsvn_commitsvn_statussvn_updateSVN documentation on svn checkout