PHP » GoLang |
login |
register |
about
|
svn_commit(PECL svn >= 0.1.0) svn_commit — Sends 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 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. 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):
<?php The above example will output: array( 0 => 1415, 1 => '2007-05-26T01:44:28.453125Z', 2 => 'Bob' ) See Also
|
more
Recently updated
more
Most requested
more
Last requests
|