|
PHP5中文手册
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. 注释Warning
本函数是实验性的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本函数风险自担。 范例
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 上例将输出:
|