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

Re: SVN perl binding problem

From: Al Tobey <tobert_at_gmail.com>
Date: 2006-06-05 23:45:44 CEST

On 5/30/06, Nigel Kukard <nkukard@lbsd.net> wrote:
> Hi,
>
> I'm building subversion using the packaged neon (0.26.0 is installed on
> the system), db 4.4, httpd 2.0.58's apr/apr-util and perl 5.8.8.
>
> The svn utility works perfectly fine, but when trying to run this...
>
> my $SVNRepo = "/usr/local/src/repo";
> my $SVNRepoURL = "http://path.to/my/repo";
>
> use SVN::Client;
> my $svnCtx = new SVN::Client();
> $svnCtx->checkout($SVNRepoURL,$SVNRepo,"HEAD",1);
>
>
>
> I get ...
> $ ./build
> Bad URL passed to RA layer: Unrecognized URL scheme for
> 'http://path.to/my/repo' at ./build line 27

I just cut & pasted your example and ran it on my box and it worked
fine. I even tried a nasty one that is breaking some apps (Tortoise,
SVNWeb) here that has lots of spaces and percent signs in the name and
it works fine.

If you change $SVNRepoURL to
"http://svn.collab.net/repos/svn/trunk/tools/diff/" does it work?

>
>
>
> svn --version shows...
>
> svn, version 1.3.1 (r19032)
> compiled May 29 2006, 21:55:26
>
> Copyright (C) 2000-2006 CollabNet.
> Subversion is open source software, see http://subversion.tigris.org/
> This product includes software developed by CollabNet
> (http://www.Collab.Net/).
>
> The following repository access (RA) modules are available:
>
> * ra_dav : Module for accessing a repository via WebDAV (DeltaV)
> protocol.
> - handles 'http' scheme
> - handles 'https' scheme
> * ra_svn : Module for accessing a repository using the svn network
> protocol.
> - handles 'svn' scheme
> * ra_local : Module for accessing a repository on local disk.
> - handles 'file' scheme
>
>
> all libsvn* files are in /usr/lib.
>
>
> any help would greatly be appreciated!
>
> -Nigel
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 5 23:46:10 2006

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