(PECL svn >= 0.3.0)
svn_revert — Revert changes to the working copy
svn_revert(string $path, bool $recursive = false): bool
Revert any local changes to the path in a working copy.
pathThe path to the working repository.
recursiveOptionally make recursive changes.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.svn-revert.php