You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Leo Davis <ld...@fonix.com> on 2005/05/24 02:12:40 UTC

SVN::Client checkout fails using 1.2.0 on Win32, Linux

Hello,

I upgraded my subversion client and Perl bindings for 1.2.0 today.  
Earlier in the day, I was running a script that called checkout:

    $SVNClient->checkout($foo, '.', 'HEAD', 1);

Where $foo is in the form: http://<server>/<repo>

I'm now getting this error message:

   Checking out working copy...
Assertion failed: is_canonical (base, blen), file 
C:\Home\brane\src\svn\subversion-1.2.0\subversion\libsvn_subr\path.c, 
line 114

abnormal program termination

I built and installed the Linux Perl bindings, and get a similar error 
message at the same place in the code.

The server is also running 1.2.0. I also tried reproducing it with the 
command line client, and it checked out on both platforms.

A file that reproduces this bug for me is attached.

Leo




Re: SVN::Client checkout fails using 1.2.0 on Win32, Linux

Posted by Leo Davis <ld...@fonix.com>.
Erik Huelsmann wrote:

> On 5/24/05, Leo Davis <ld...@fonix.com> wrote:
>  
>
>> Hello,
>>
>> I upgraded my subversion client and Perl bindings for 1.2.0 today.
>> Earlier in the day, I was running a script that called checkout:
>>
>>    $SVNClient->checkout($foo, '.', 'HEAD', 1);
>>
>> Where $foo is in the form: http://<server>/<repo>
>>   
>
>
> Well, you don't say exactly which path you used to point to repo, but
> if it ends in a slash, that's not canonical. Also, '.' is not
>  
>
I supplied a sample program as an attachment that did use the real URL.

> canonical. Use `pwd` (or perl's equivalent) to retrieve the full path
>  
>
I tried using Cwd::getcwd in place of '.' and that worked.  However, the 
code I posted worked using subversion 1.1.4 bindings.  Also there is no 
mention of canonicality in the new documentation for this method, but is 
the same as the old documentation.

> to the current working dir. That should be canonical.
>
>
> HTH,
>
>
> Erik.
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN::Client checkout fails using 1.2.0 on Win32, Linux

Posted by Erik Huelsmann <eh...@gmail.com>.
On 5/24/05, Leo Davis <ld...@fonix.com> wrote:
> Hello,
> 
> I upgraded my subversion client and Perl bindings for 1.2.0 today.
> Earlier in the day, I was running a script that called checkout:
> 
>     $SVNClient->checkout($foo, '.', 'HEAD', 1);
> 
> Where $foo is in the form: http://<server>/<repo>

Well, you don't say exactly which path you used to point to repo, but
if it ends in a slash, that's not canonical. Also, '.' is not
canonical. Use `pwd` (or perl's equivalent) to retrieve the full path
to the current working dir. That should be canonical.


HTH,


Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org