[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: Jeremy Pereira <jeremyp_at_jeremyp.net>
Date: 2006-11-14 17:37:12 CET

On 13 Nov 2006, at 17:53, Jiho Han wrote:

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

I was going to write
"Of course it is. Why would you expect it to be otherwise?"

but then I read the documentation (http://svnbook.red-bean.com/
nightly/en/
svn.serverconfig.svnserve.html#svn.serverconfig.svnserve.invoking)
and now I understand your confusion. With no -r parameter on Unix,
you use the absolute path. I don't know how that would translate to
Windows. I *guess* it probably looks on the C drive.

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

That's probably for the best anyway. It means you can move the
repository around and URLs are a bit shorter.

>
> -----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 17:44:07 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.