Home > PHP > Function > SVN > svn_export()

svn_export()

svn_export - Export the contents of a SVN directory

Syntax

bool svn_export (string $frompath, string $topath, bool $working_copy)

Arguments

  • frompath - The path to the current repository.
  • topath - The path to the new repository.
  • working_copy - If TRUE, it will export uncommitted files from the working copy.

Description

Export the contents of either a working copy or repository into a 'clean' directory.

Version

PHP PECL svn >= 0.3.0

Return value

Returns TRUE on success or FALSE on failure.