svn_import()
svn_import - Imports an unversioned path into a repository
Syntax
bool svn_import (
string $path,
string $url,
bool $nonrecursive)
Arguments
- path - Path of file or directory to import. Note: Relative paths will be resolved as if the current working directory was the one that contains the PHP binary. To use the calling script\'s working directory, use realpath() or dirname(__FILE__).
- url - Repository URL to import into.
- nonrecursive - Whether or not to refrain from recursively processing directories.
Description
Commits unversioned path into repository at url. If path is a directory and nonrecursive is FALSE, the directory will be imported recursively.
Version
PHP PECL svn >= 0.2.0
Return value
Returns TRUE on success or FALSE on failure.