svn_commit(PECL svn:0.1-0.2) svn_commit — Sends changes from the local working copy to the repository Описание
array svn_commit
( string $log
, array $targets
[, bool $dontrecurse
] )
Commits changes made in the local working copy files enumerated in the targets array to the repository, with the log message log . Directories in the targets array will be recursively committed unless dontrecurse is set to true.
Список параметров
Возвращаемые значенияReturns array in form of:
Returns FALSE on failure. ПримечанияВнимание
Эта функция является ЭКСПЕРИМЕНТАЛЬНОЙ. Поведение этой функции, ее имя и относящаяся к ней документация могут измениться в последующих версиях PHP без уведомления. Используйте эту функцию на свой страх и риск. Примеры
Пример #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Результат выполнения данного примера:
|
|
|
| © 2009 Тест скорости интернета | Boont.Ru |