svn_revert

(PECL svn >= 0.3.0)

svn_revertRevert changes to the working copy

Description

svn_revert ( string $path [, bool $recursive = false ] ) : bool

Revert any local changes to the path in a working copy.

Parameters

path

The path to the working repository.

recursive

Optionally make recursive changes.

Return Values

Returns true on success or false on failure.

See Also

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.svn-revert.php