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

RE: Re: Svn url on windows question

From: Jiho Han <jhan_at_InfinityInfo.com>
Date: 2006-11-13 18:53:12 CET

So is the absolute path syntax only supported with file:// protocol?

And making the changes below would mean I would have to set the root
folder for the svnserve command, correct?

-----Original Message-----
From: Andy Peters [mailto:devel@latke.net]
Sent: Monday, November 13, 2006 12:40 PM
To: Subversion Users
Subject: Re: Svn url on windows question

On Nov 13, 2006, at 10:16 AM, Jiho Han wrote:

> I created a repository on a server under the path: e:\svnrepo\test
>
> And when I run svn import, I get the following error. I am guessing
> it's due to the initial backslash in the error message.
> What is the correct URL to use?
>
> $svn import svn://babel/e:/svnrepo/test -m testing
> svn: Can't open file '\e:\svnrepo\test\format': The filename,
> directory name, or volume label syntax is incorrect.

There are a couple of things wrong with your syntax.

When using svnserve, your command line can't include the absolute path
to the repository file system.

You want:

$ cd path\to\stuff\to\import
$ svn import . svn://babel/test/TestImport

(assuming that the repo is actually at babel/test).

-a

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 13 18:51:05 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.