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

Re: Perl bindings

From: Nik Clayton <nik_at_ngo.org.uk>
Date: 2006-07-14 13:12:00 CEST

Garrett Rooney wrote:
>> I can understand that that might fail if I call it on a directory, since
>> the function name suggests that it's only supposed to work on files.
>>
>> However, since it does work when using the file:/// RA layer I'm not
>> sure. And if it's *not* supposed to work I'm still in the dark as to
>> the correct way to retrieve this information in the directory case.
>>
>> I've attached bug.pl. The results above were obtained using Subversion
>> 1.3.2 (r19776).
>
> Could you possibly try with trunk? Or the 1.4.x release branch?

I've just built trunk/ and tried against that. I get the same error
(i.e., file:/// works, svn:// doesn't).

I double checked that I was using libs built from trunk/ -- I run the
test with truss, and verified that the new libs were being opened.

> Also, what are the exact arguments being passed to get_file in the
> failure case?

In the file:/// case, the path is '/' and the rev is 1066 (and 1072 in
the second call).

In the svn:// case, the path is '/' and the rev is 1066. Then the
program crashes and it never gets to the 1072 case.

N

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 14 13:12:31 2006

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