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

Re: Importing into a Windows repos

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-09-25 17:10:43 CEST

On 9/25/06, Chris.Fouts@qimonda.com <Chris.Fouts@qimonda.com> wrote:
> I'm not much of a Windoze user...
>
> I created my repos using..
> > svnadmin create c:\svnroot\repos
>
> Now I want to import my c:\temp\proj dir. I do
> > svn import c:\temp\proj file://c:\svnroot\repos --message "blah"
>
> and I get...
> svn: Unable to open an ra_local session to URL
> svn: Local URL 'file://c:%5Csvnroot%5Crepos' contains only a hostname,
> no path
>
> What's the correct syntax?

You need 3 slashes for file (file:///).

You may also want to use regular slashes (/) instead of backslashes
(\) so it isn't accidentally interpreted as an escape character. I
just tested both \ and / as directory delimiters in Windows and it
handled it OK, but you can use / everywhere and svn will be OK with
it.

svn import c:\temp\proj file:///c:/svnroot/repos --message "blah"
should work for you.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 25 17:11:53 2006

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.