array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'function.svn-revert.php', 1 => 'svn_revert', 2 => 'Revert changes to the working copy', ), 'up' => array ( 0 => 'ref.svn.php', 1 => 'SVN Funktionen', ), 'prev' => array ( 0 => 'function.svn-repos-recover.php', 1 => 'svn_repos_recover', ), 'next' => array ( 0 => 'function.svn-status.php', 1 => 'svn_status', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/svn/functions/svn-revert.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

svn_revert

(PECL svn >= 0.3.0)

svn_revertRevert changes to the working copy

Beschreibung

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

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

Parameter-Liste

path

The path to the working repository.

recursive

Optionally make recursive changes.

Rückgabewerte

Gibt bei Erfolg true zurück. Bei einem Fehler wird false zurückgegeben.

Siehe auch