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

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

From: Leo Davis <ldavis_at_fonix.com>
Date: 2005-05-25 03:43:54 CEST

Erik Huelsmann wrote:

> On 5/24/05, Leo Davis <ldavis@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
Received on Wed May 25 03:48:20 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.