You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ch...@qimonda.com on 2006/09/25 14:55:37 UTC

Importing into a Windows repos

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?

--------------------------------------
Chris T Fouts

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Importing into a Windows repos

Posted by Andy Levy <an...@gmail.com>.
On 9/25/06, Chris.Fouts@qimonda.com <Ch...@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