svn_revert
(PECL svn >= 0.3.0)
svn_revert — Revert changes to the working copy
説明
svn_revert
( string
$path
[, bool $recursive = FALSE
] ) : boolRevert any local changes to the path in a working copy.
パラメータ
-
path -
The path to the working repository.
-
recursive -
Optionally make recursive changes.
返り値
成功した場合に TRUE を、失敗した場合に FALSE を返します。
参考
- svn_delete() - Delete items from a working copy or repository
- svn_export() - Export the contents of a SVN directory