cvs: pecl /svn svn.c

From: Date: Sun, 27 Jan 2008 04:53:15 +0000
Subject: cvs: pecl /svn svn.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-9602@lists.php.net to get a copy of this message
alan_k Sun Jan 27 04:53:15 2008 UTC Modified files: /pecl/svn svn.c Log: fix bug #12438 - limit feature for svn_log by ezyang http://cvs.php.net/viewvc.cgi/pecl/svn/svn.c?r1=1.33&r2=1.34&diff_format=u Index: pecl/svn/svn.c diff -u pecl/svn/svn.c:1.33 pecl/svn/svn.c:1.34 --- pecl/svn/svn.c:1.33 Mon Jan 14 02:33:05 2008 +++ pecl/svn/svn.c Sun Jan 27 04:53:15 2008 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: svn.c,v 1.33 2008/01/14 02:33:05 alan_k Exp $ */ +/* $Id: svn.c,v 1.34 2008/01/27 04:53:15 alan_k Exp $ */ #define SVN_EXTENSION_VERSION "0.2.0" @@ -825,9 +825,10 @@ const char *target; int i; apr_pool_t *subpool; - - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", - &repos_url, &repos_url_len, &revision) == FAILURE) { + int limit = 0; + + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|ll", + &repos_url, &repos_url_len, &revision, &limit) == FAILURE) { return; } init_svn_client(TSRMLS_C); @@ -859,10 +860,11 @@ svn_path_canonicalize(utf8_repos_url, subpool); array_init(return_value); - err = svn_client_log( + err = svn_client_log2( targets, &start_revision, &end_revision, + limit, 1, // svn_boolean_t discover_changed_paths, 1, // svn_boolean_t strict_node_history, php_svn_log_message_receiver,

« previous php.pecl.cvs (#9602) next »