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

search for in the

svn_fs_abort_txn> <svn_diff
[edit] Last updated: Fri, 24 May 2013

view this page in

svn_export

(PECL svn >= 0.3.0)

svn_exportExporte le contenu d'un dossier SVN

Description

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

Exporte le contenu soit d'une copie de travail, soit d'un référentiel dans un dossier "propre".

Liste de paramètres

frompath

Le chemin du dossier à exporter.

topath

Le chemin du nouveau dossier.

working_copy

Si TRUE, ceci exportera aussi les fichiers non-livrés de la copie de travail.

Valeurs de retour

Cette fonction retourne TRUE en cas de succès ou FALSE si une erreur survient.

Exemples

Exemple #1 Exemple d'utilisation de svn_export()

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

svn_export($working_dir$new_working_dir);
?>

Voir aussi

  • svn_import() - Importe un chemin non-versionné dans un référentiel



add a note add a note User Contributed Notes svn_export - [1 notes]
up
0
cleung at draper dot com
1 year ago
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