|
svn_commitSends changes from the local working copy to the repository Beschreibung
array svn_commit
( string
$log
, array $targets
[, bool $recursive = true
] )
Commits changes made in the local working copy files enumerated in
the
Parameter-Liste
RückgabewerteReturns array in form of: array(
0 => integer revision number of commit
1 => string ISO 8601 date and time of commit
2 => name of committer
)
Returns AnmerkungenWarnung
Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere, was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko. Beispiele
Beispiel #1 Basic example This example commits the calculator directory to a repository, using the username Bob and the password abc123 (hopefully, his password is stronger):
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: array( 0 => 1415, 1 => '2007-05-26T01:44:28.453125Z', 2 => 'Bob' ) |