|
svn_checkoutChecks out a working copy from the repository Description
bool svn_checkout
( string
$repos
, string $targetpath
[, int $revision
[, int $flags = 0
]] )
Checks out a working copy from the repository at Parameters
Return Values
Returns NotesWarning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk. Examples
Example #1 Basic example This example demonstrates how to check out a directory from a repository to a directory named calc:
<?php 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. |