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
[edit] Last updated: Fri, 25 May 2012

view this page in

svn_export

(PECL svn >= 0.3.0)

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

説明

bool svn_export ( string $frompath , string $topath [, bool $working_copy = true [, int $revision_no = -1 ]] )

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

パラメータ

frompath

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

topath

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

working_copy

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
cleung at draper dot com 31-May-2011 08:15
This functionality is very different from the actual command line svn export url [-rRevision]

If you are thinking about checkout out a single file at a particular version, keep looking because this export can not perform that functionality.

 
show source | credits | sitemap | contact | advertising | mirror sites