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

Re: svn_cilent_log usage apr_array_header_t targets

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-04-20 17:44:31 CEST

On Wed, 20 Apr 2005, Alan Knowles wrote:

> On Wed, 2005-04-20 at 16:55 +0200, Peter N. Lundblad wrote:
>
> > >
> > > 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/";
> > >
> changing that to
> svn_utf_cstring_to_utf8 (
> &utf8_repos_url,
> "http://www.akbkhome.com/svn/ext_svn",
> SVN_G(pool));
>
> APR_ARRAY_PUSH(targets, const char *) =
> svn_path_canonicalize(utf8_repos_url, SVN_G(pool));
>
> gives me
> svn: 'http://www.akbkhome.com/svn/ext_svn' is not a working copy
> which is obviously correct, but not very usefull ;)
> The big question is what does that array expect..
>
What did you set the start and end revisions to? this error is diisplayed
if you do i.e.
svn log -rBASE http://svn.collab.net/repos/svn
That is, one or both revisions depends on a working copy path. Try head, a
number or a date.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 20 17:43:05 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.