array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.svn-export.php', 1 => 'svn_export', ), 'up' => array ( 0 => 'ref.svn.php', 1 => 'SVN İşlevleri', ), 'prev' => array ( 0 => 'function.svn-diff.php', 1 => 'svn_diff', ), 'next' => array ( 0 => 'function.svn-fs-abort-txn.php', 1 => 'svn_fs_abort_txn', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/svn/functions/svn-export.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL svn >= 0.3.0)
svn_export — Export the contents of a SVN directory
$frompath
,$topath
,$working_copy
= true
,$revision_no
= -1Export the contents of either a working copy or repository into a 'clean' directory.
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.
Örnek 1 svn_export() example
<?php
$working_dir = '../';
$new_working_dir = '/home/user/devel/foo/trunk';
svn_export($working_dir, $new_working_dir);
?>