svn_revert

Revert 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_delete
  • svn_export