svn_cleanup
(PECL svn >= 0.1.0)
Recursively cleanup a working copy directory, finishing incomplete operations and removing locks
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
workingdirString path to local working directory to cleanup
Relativepath
Return Values
Success
Examples
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() call is necessary due to SVN's quirky handling of relative paths.
Notes Func
See Also
update()- SVN documentation on svn cleanup