|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2014-07-01 11:42 UTC] giso at connectholland dot nl
Description: ------------ --- From manual page: http://www.php.net/function.svn-ls --- The $peg argument listed in the function call description is not documented PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 18:00:01 2025 UTC |
Committing to SVN seems to not work anymore - here's the patch to fix this. --- trunk/svn.c (revision 352318) +++ trunk/svn.c (working copy) @@ -961,7 +961,7 @@ } -/* {{{ proto array svn_ls(string repository_url [, int revision [, bool recurse [, bool peg]]]) +/* {{{ proto array svn_ls(string repository_url [, int revision [, bool recurse ]]) Returns a list of a directory in a working copy or repository, optionally at revision_no. */ PHP_FUNCTION(svn_ls) { @@ -968,7 +968,7 @@ const char *repos_url = NULL; const char *utf8_repos_url = NULL; long repos_url_len; - zend_bool recurse = 0, peg = 0; + zend_bool recurse = 0; svn_error_t *err; svn_opt_revision_t revision = { 0 }; apr_hash_t *dirents; @@ -977,8 +977,8 @@ const char *true_path; apr_hash_index_t *hi; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lbb", - &repos_url, &repos_url_len, &revision.value.number, &recurse, &peg) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lb", + &repos_url, &repos_url_len, &revision.value.number, &recurse) == FAILURE) { return; } PHP_SVN_INIT_CLIENT();