|
svn_commitSends changes from the local working copy to the repository Description
array svn_commit(string
$log , array $targets , bool $recursive = true )
Commits changes made in the local working copy files enumerated in
the
Parameters
Return ValuesReturns 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 Examples
Example #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):
The above example will output: array( 0 => 1415, 1 => '2007-05-26T01:44:28.453125Z', 2 => 'Bob' ) NotesWarning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk. |