[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn_cilent_log usage apr_array_header_t targets

From: Alan Knowles <alan_at_akbkhome.com>
Date: 2005-04-20 16:06:12 CEST

I'm trying to understand the log usage for the php bindings

is there any explaination of what would be expected for the input to
svn_client_log's targets argument..

The code looks something like below, but I'm always getting
 svn_path_basename: Assertion `is_canonical (path, len)' failed.

I'm guessing I need more things in the targets array, but see anywhere
where it's commented what it should be.

targets = apr_array_make (SVN_G(pool), 1, sizeof(char *));
targets->nelts = 1;
APR_ARRAY_IDX(targets, 0, const char *) =
"http://www.akbkhome.com/svn/ext_svn/";

err = svn_client_log(
                targets,
                &start_revision,
                &end_revision,
                TRUE, // svn_boolean_t discover_changed_paths,
                TRUE, // svn_boolean_t strict_node_history,
                php_svn_log_message_receiver,
                (void **) &return_value,
                SVN_G(ctx), SVN_G(pool));
 
Regards
Alan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 20 16:10:07 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.