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

Re: Svn url on windows question

From: Tim Hill <drtimhill_at_comcast.net>
Date: 2006-11-14 17:58:32 CET

On Nov 13, 2006, at 9:53 AM, Jiho Han wrote:

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

Correct.

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

Not necessarily, though that might be a good idea, since it will de-
couple the URL paths your users use from the absolute location of the
repo on the server.

>
> -----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
>

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