svn_revert()
(PECL svn >= 0.3.0)
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.
参数
- $path
The path to the working repository.
- $recursive
Optionally make recursive changes.
返回值
成功时返回TRUE
,或者在失败时返回FALSE
。
参见
svn_delete()
Delete items from a working copy or repositorysvn_export()
Export the contents of a SVN directory