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.
(PECL svn >= 0.3.0)
svn_export — Exporte le contenu d'un dossier SVN
$frompath
,$topath
,$working_copy
= true
,$revision_no
= -1Exporte le contenu soit d'une copie de travail, soit d'un référentiel dans un dossier "propre".
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.
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);
?>
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.