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

Re: Methods to test whether a URL is valid

From: Mark Bohlman <mbohlman_at_tcicredit.com>
Date: 2004-07-07 15:28:59 CEST

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
Received on Wed Jul 7 15:29:28 2004

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.