You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ulrich Eckhardt <ec...@satorlaser.com> on 2004/07/07 12:17:35 UTC
Methods to test whether a URL is valid
Cheers!
I'm currently fighting with vss2svn, and doing so I had big problems
specifying a 'file:' URL:
D:\temp>svn log file:D:/temp/svndb
svn: Error resolving case of 'file:/D:/temp/svndb'
D:\temp>svn log file:/D:/temp/svndb
svn: Error resolving case of 'file:/D:/temp/svndb'
D:\temp>svn log file://D:/temp/svndb
svn: Unable to open ra_local session to URL
svn: Local URL 'file://D:/temp/svndb' contains unsupported hostname
These error-messages are (to me, at least) pretty meaningless.
Yes, when everything fails, read the instructions which revealed the triple
slash. However, for the sake of scriptability, I would have liked to just
call 'svn probe <URL>' and just get as answer whether there is a repository
accessible under the given URL or not. Would have saved me some trouble.
thanks
Uli
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Methods to test whether a URL is valid
Posted by Mark Bohlman <mb...@tcicredit.com>.
Mark Bohlman wrote:
> Ulrich Eckhardt wrote:
>
>> Cheers!
>>
>> I'm currently fighting with vss2svn, and doing so I had big problems
>> specifying a 'file:' URL:
>>
>> D:\temp>svn log file:D:/temp/svndb
>> svn: Error resolving case of 'file:/D:/temp/svndb'
>> D:\temp>svn log file:/D:/temp/svndb
>> svn: Error resolving case of 'file:/D:/temp/svndb'
>> D:\temp>svn log file://D:/temp/svndb
>> svn: Unable to open ra_local session to URL
>> svn: Local URL 'file://D:/temp/svndb' contains unsupported hostname
>>
>> These error-messages are (to me, at least) pretty meaningless.
>>
>> Yes, when everything fails, read the instructions which revealed the
>> triple slash. However, for the sake of scriptability, I would have
>> liked to just call 'svn probe <URL>' and just get as answer whether
>> there is a repository accessible under the given URL or not. Would
>> have saved me some trouble.
>>
>> thanks
>>
>> Uli
>
>
> Try svn log file:///D:/whatever.
>
> You need 3 slashes on the file:/// command.
> -- Mark
(Or reading the entire email! <:-I I should go back to sleep!)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Methods to test whether a URL is valid
Posted by Mark Bohlman <mb...@tcicredit.com>.
Ulrich Eckhardt wrote:
> Cheers!
>
> I'm currently fighting with vss2svn, and doing so I had big problems
> specifying a 'file:' URL:
>
> D:\temp>svn log file:D:/temp/svndb
> svn: Error resolving case of 'file:/D:/temp/svndb'
> D:\temp>svn log file:/D:/temp/svndb
> svn: Error resolving case of 'file:/D:/temp/svndb'
> D:\temp>svn log file://D:/temp/svndb
> svn: Unable to open ra_local session to URL
> svn: Local URL 'file://D:/temp/svndb' contains unsupported hostname
>
> These error-messages are (to me, at least) pretty meaningless.
>
> Yes, when everything fails, read the instructions which revealed the triple
> slash. However, for the sake of scriptability, I would have liked to just
> call 'svn probe <URL>' and just get as answer whether there is a repository
> accessible under the given URL or not. Would have saved me some trouble.
>
> thanks
>
> Uli
Try svn log file:///D:/whatever.
You need 3 slashes on the file:/// command.
-- Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org