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 locksSYNOPSISbool svn_cleanup (string $workingdir)DESCRIPTIONRecursively 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.PARAMETERSo $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 VALUESReturns TRUE on success or FALSE on failure.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.EXAMPLESExample #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 ALSOupdate(3), SVN documentation on svn cleanup. PHP Documentation Group SVN_CLEANUP(3)
Related Man Pages |
---|
cd(1t) - opensolaris |
svn_checkout(3) - php |
svn_cleanup(3) - php |
svn_commit(3) - php |
svn_import(3) - php |
Similar Topics in the Unix Linux Community |
---|
appending two string is not working |
Goto last visted directory |
Help with PHP and shell_exec!!! |
How to copy a file to a directory? |
crontab is not working. |