downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

svn_fs_abort_txn> <svn_diff
Last updated: Fri, 13 Nov 2009

view this page in

svn_export

(PECL svn >= 0.3.0)

svn_exportSVN ディレクトリの内容をエクスポートする

説明

bool svn_export ( string $frompath , string $topath [, bool $working_copy = true ] )

作業コピーあるいはリポジトリの内容を、「クリーンな」ディレクトリにエクスポートします。

パラメータ

frompath

現在のリポジトリへのパス。

topath

新しいリポジトリへのパス。

working_copy

TRUE の場合は、コミットしていないファイルを作業コピーからエクスポートします。 デフォルト値は TRUE です。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

例1 svn_export() の例

<?php
$working_dir     
'../';
$new_working_dir '/home/user/devel/foo/trunk';

svn_export($working_dir$new_working_dir);
?>

参考

  • svn_import() - バージョン管理されていないパスをリポジトリにインポートする



add a note add a note User Contributed Notes
svn_export
There are no user contributed notes for this page.

svn_fs_abort_txn> <svn_diff
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites