PHP - Manual: svn_revert
2025-10-27
(PECL svn >= 0.3.0)
svn_revert — Revert changes to the working copy
$path
$recursive
false
Revert any local changes to the path in a working copy.
path
The path to the working repository.
recursive
Optionally make recursive changes.
成功时返回 true, 或者在失败时返回 false。
true
官方地址:https://www.php.net/manual/en/function.svn-revert.php