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

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

From: Leo Davis <ldavis_at_fonix.com>
Date: 2005-05-24 04:12:40 CEST

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

#!perl

use SVN::Client;
use SVN::Core;
use SVN::Wc;

# callback for authentication
sub simple_prompt {
    my ($cred,$realm,$default_username,$may_save,$pool) = @_;

    $cred->username('username');
    $cred->password('password');
}

our $SVNClient =
        new SVN::Client(
                                        auth => [SVN::Client::get_simple_provider(),
                                                 SVN::Client::get_simple_prompt_provider(\&simple_prompt,2),
                                                 SVN::Client::get_username_provider()]);

$SVNClient->checkout("http://svn.fonix.com/test", '.', 'HEAD', 1);

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 24 04:16:50 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.