Store copies of your important files online for free.            HOME

Revert changes to the working copy
SVN Functions
PHP Manual

svn_revert

(PECL svn >= 0.3.0)

svn_revertRevert changes to the working copy

Description

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

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


SVN Functions
PHP Manual