SVN 函数
PHP 手册

svn_revert

(PECL svn >= 0.3.0)

svn_revertRevert changes to the working copy

说明

bool svn_revert ( string $path [, bool $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. Defaults to FALSE

返回值

如果成功则返回 TRUE,失败则返回 FALSE

参见


SVN 函数
PHP 手册