svn_cleanup
svn_cleanup
Recursively cleanup a working copy directory, finishing incomplete operations and removing locks
bool **svn_cleanup** string $workingdir
Recursively cleanup working copy directory ,
finishing any incomplete operations and removing working copy locks. Use
when a working copy is in limbo and needs to be usable again.
workingdir
workingdirString path to local working directory to cleanup
return.success
Voorbeeld: Basic example
This example demonstrates clean up of a working copy in a directory named help-me:
<?php
svn_cleanup(realpath('help-me'));
?>
The call is necessary due to
SVN's quirky handling of relative paths.
realpath
updateSVN documentation on svn cleanup