Php/docs/function.svn-revert

来自菜鸟教程
跳转至:导航、​搜索

svn_revert

(PECL svn >= 0.3.0)

svn_revertRevert 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


参见