Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

svn_export(3) [php man page]

SVN_EXPORT(3)								 1							     SVN_EXPORT(3)

svn_export - Export the contents of a SVN directory

SYNOPSIS
bool svn_export (string $frompath, string $topath, [bool $working_copy = true], [int $revision_no = -1]) DESCRIPTION
Export the contents of either a working copy or repository into a 'clean' directory. PARAMETERS
o $frompath - The path to the current repository. o $topath - The path to the new repository. o $working_copy - If TRUE, it will export uncommitted files from the working copy. RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 svn_export(3) example <?php $working_dir = '../'; $new_working_dir = '/home/user/devel/foo/trunk'; svn_export($working_dir, $new_working_dir); ?> SEE ALSO
svn_import(3). PHP Documentation Group SVN_EXPORT(3)

Check Out this Related Man Page

SVN_ADD(3)								 1								SVN_ADD(3)

svn_add - Schedules the addition of an item in a working directory

SYNOPSIS
bool svn_add (string $path, [bool $recursive = true], [bool $force = false]) DESCRIPTION
Adds the file, directory or symbolic link at $path to the working directory. The item will be added to the repository the next time you call svn_commit(3) on the working copy. PARAMETERS
o $path - Path of item to add. 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(3) or dirname(__FILE__). o $recursive - If item is directory, whether or not to recursively add all of its contents. Default is TRUE o $force - If true, Subversion will recurse into already versioned directories in order to add unversioned files that may be hiding in those directories. Default is FALSE RETURN VALUES
Returns TRUE on success or FALSE on failure. NOTES
Warning 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 svn_add(3) example In a working directory where svn status returns: $ svn status ? foobar.txt <?php svn_add('foobar.txt'); ?> ...will schedule foobar.txt for addition into the repository. SEE ALSO
SVN documentation on svn add. PHP Documentation Group SVN_ADD(3)
Man Page