php man page for svn_cleanup

Query: svn_cleanup

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SVN_CLEANUP(3)								 1							    SVN_CLEANUP(3)

svn_cleanup - Recursively cleanup a working copy directory, finishing incomplete operations and removing locks

SYNOPSIS
bool svn_cleanup (string $workingdir)
DESCRIPTION
Recursively cleanup working copy directory $workingdir, finishing any incomplete operations and removing working copy locks. Use when a working copy is in limbo and needs to be usable again.
PARAMETERS
o $workingdir - String path to local working directory to cleanup 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__).
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 Basic example This example demonstrates clean up of a working copy in a directory named help-me: <?php svn_cleanup(realpath('help-me')); ?> The realpath(3) call is necessary due to SVN's quirky handling of relative paths.
SEE ALSO
update(3), SVN documentation on svn cleanup. PHP Documentation Group SVN_CLEANUP(3)
Related Man Pages
dirname(3) - php
svn_status(3) - php
is_dir(3) - php
svn_cleanup(3) - php
svn_commit(3) - php
Similar Topics in the Unix Linux Community
Goto last visted directory
Masking Password with *'s
Recursively listing of the file
Send file content in mail
Bug in Attachments