[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: VonCannon, Lee <Lee.VonCannon_at_baesystems.com>
Date: 2004-09-14 16:58:41 CEST

Ok,

    I have tried installing cygwin and using it instead of the command
line tool. I still get the same errors. Just so you have an idea of
the things that I have tried, I listed a small subset of them. None of
them work as you can see. Any suggestions? Oh, and what is RFC 1738
and RFC 2396 anyway?

 

Thanks,

Lee

 

LVonCannon@DAVIS /cygdrive/c/Documents and Settings/LVonCannon/My
Documents/Subv

ersion

$ svn import ./tmp/project file:///path/to/repos -m "initial import"

svn: Unable to open an ra_local session to URL

svn: Unable to open repository 'file:///path/to/repos'

 

LVonCannon@DAVIS /cygdrive/c/Documents and Settings/LVonCannon/My
Documents/Subv

ersion

$ svn import ./tmp/project file://./path/to/repos -m "initial import"

svn: Unable to open an ra_local session to URL

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

 

LVonCannon@DAVIS /cygdrive/c/Documents and Settings/LVonCannon/My
Documents/Subv

ersion

$ svn import ./tmp/project file:///./path/to/repos -m "initial import"

svn: Unable to open an ra_local session to URL

svn: Unable to open repository 'file:///./path/to/repos'

 

LVonCannon@DAVIS /cygdrive/c/Documents and Settings/LVonCannon/My
Documents/Subv

ersion

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

svn: Unable to open an ra_local session to URL

svn: Unable to open repository 'file:///C:/path/to/repos'

 

LVonCannon@DAVIS /cygdrive/c/Documents and Settings/LVonCannon/My
Documents/Subv

ersion

$ svn import ./tmp/project "file:///C|/path/to/repos" -m "initial
import"

svn: URL 'file:///C|/path/to/repos' is not properly URI-encoded

 

LVonCannon@DAVIS /cygdrive/c/Documents and Settings/LVonCannon/My
Documents/Subv

ersion

$ svn import ./tmp/project "file:///C:/Documents and
Settings/LVonCannon/My Doc

uments/Subversion/path/to/repos" -m "initial import"

svn: URL 'file:///C:/Documents and Settings/LVonCannon/My
Documents/Subversion/p

ath/to/repos' is not properly URI-encoded

 

LVonCannon@DAVIS /cygdrive/c/Documents and Settings/LVonCannon/My
Documents/Subv

ersion

$ svn import ./tmp/project file:///"C:/Documents and
Settings/LVonCannon/My Doc

uments/Subversion/path/to/repos" -m "initial import"

svn: URL 'file:///C:/Documents and Settings/LVonCannon/My
Documents/Subversion/p

ath/to/repos' is not properly URI-encoded

 

________________________________

From: Guido Anzuoni [mailto:guido.anzuoni@kyneste.com]
Sent: Tuesday, September 14, 2004 2:55 AM
To: VonCannon, Lee; users@subversion.tigris.org
Subject: RE: contains unsupported hostname msg when importing

 

It seem that the url is wrong.

The general url syntax for file scheme is:

file:///<file <file:///\\%3cfile> system path>

On windows platform is:

file:///<drive <file:///\\%3cdrive> letter>:/dir1/dir2....

On unix

file:///dir1/dir2 <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 17:00:24 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.