|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-04-03 20:48 UTC] edwardzyang at thewritingpot dot com
Description:
------------
The proto declaration for svn_commit is incorrect, being exactly the same as the hotcopy function. Patch is below.
Reproduce code:
---------------
Index: svn.c
===================================================================
RCS file: /repository/pecl/svn/svn.c,v
retrieving revision 1.23
diff -u -r1.23 svn.c
--- svn.c 18 Apr 2006 03:11:52 -0000 1.23
+++ svn.c 4 Apr 2007 00:45:04 -0000
@@ -1646,7 +1646,7 @@
}
/* {{{ proto array svn_commit(string log, array targets [, bool dontrecurse])
- Make a hot-copy of the repos at repospath; copy it to destpath */
+ Sends changes from the local working copy to the repository */
PHP_FUNCTION(svn_commit)
{
char *log;
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 09:00:01 2025 UTC |
Updated patch: svn_status is also incorrectly documented Index: svn.c =================================================================== RCS file: /repository/pecl/svn/svn.c,v retrieving revision 1.23 diff -u -r1.23 svn.c --- svn.c 18 Apr 2006 03:11:52 -0000 1.23 +++ svn.c 4 Apr 2007 00:57:54 -0000 @@ -1646,7 +1646,7 @@ } /* {{{ proto array svn_commit(string log, array targets [, bool dontrecurse]) - Make a hot-copy of the repos at repospath; copy it to destpath */ + Sends changes from the local working copy to the repository */ PHP_FUNCTION(svn_commit) { char *log; @@ -1728,7 +1728,7 @@ /* }}} */ /* {{{ proto array svn_status(string path [, bool recursive [, bool get_all [, bool update [, bool no_ignore]]]]) - Schedule the addition of a file in a working directory */ + Returns the status of working copy files and directories */ static void status_func(void *baton, const char *path, svn_wc_status_t *status) {