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

RE: contains unsupported hostname msg when importing

From: Guido Anzuoni <guido.anzuoni_at_kyneste.com>
Date: 2004-09-14 08:55:13 CEST

It seem that the url is wrong.
The general url syntax for file scheme is:
 <file:///> file:///<file system path>
On windows platform is:
 <file:///> file:///<drive letter>:/dir1/dir2....
On unix
file:///dir1/dir2....
 
I have seen many post for troubles caused by incorrect url syntax..
I suggest the reading of RFC 1738 and RFC 2396.
 
Guido.

-----Original Message-----
From: VonCannon, Lee [mailto:Lee.VonCannon@baesystems.com]
Sent: Monday, September 13, 2004 11:29 PM
To: users@subversion.tigris.org
Subject: contains unsupported hostname msg when importing

Hey,

            I am new to subversion and I have only used cvs a little in the past so sorry if the answer to my question is obvious. I am using Win XP and I am working from the command line. I have read the first two chapters in the book and I am trying to get through the Quick Start part. This is what I have done so far:

 

I first created a \path\to directory in a Subversion folder on my C: drive (note: The Quick Start page in the book does not say to do this, but it needs to be done, so it might be a good idea to add that step to the book)

 

I then typed:

C:\...\Subversion> svnadmin create .\path\to\repos

 

I then created the directories (tmp\project\branches, tmp\project\trunk, tmp\project\tags) and files that were suggested by the Quick Start.

 

The problem happens when I type this:

 

C:\...\Subversion>svn import .\tmp\project file://./path/to/repos -m "initial import"

 

I get this back:

 

svn: Unable to open an ra_local session to URL

svn: Local URL 'file://./path/to/repos' contains unsupported hostname

 

Again, I apologize if this is an obvious question. I have tried many ways to type that command but nothing seems to work.

 

Thanks,

Lee
Received on Tue Sep 14 08:56:18 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.