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

Methods to test whether a URL is valid

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2004-07-07 14:17:35 CEST

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
Received on Wed Jul 7 14:17:56 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.