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

Re: PATCH: BOOK: Windows drive letter in "file:" URL

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2003-08-29 21:19:36 CEST

Hello Julian,

I mostly agree with the patch. The appc.xml change is correct, but the
ch02.xml patch is incorrect. Here's what I get on Win2K SP4, 0.27.0
(r6715):

K:\>svnadmin create repos
H:\>svn co "file:///K|/repos" w
svn: Bogus URL
svn: URL `file:///K|/repos' is not properly URI-encoded

H:\>svn co "file:///K:/repos" wc
Checked out revision 0.

So, this part of the diff should be dropped:
-$ svn checkout file:///X|/path/to/repos
+C:\> svn checkout "file:///X|/path/to/repos"

And in the following paragraphs, the first one should be removed too:
+ <para>In the second syntax, you need to quote the URL so that
+ the vertical bar character is not interpreted as a
pipe.</para>
+
+ <para>Note that a URL uses ordinary slashes even though the
native
+ (non-URL) form of a path on Windows uses backslashes.</para>
+

Have a nice day !
François

On Fri, 29 Aug 2003 17:39:43 +0100, "Julian Foad"
<julianfoad@btopenworld.com> said:
> Please could a Windows user check and confirm this (particularly the two
> examples in ch02.xml) for me.
>
> I am not running Windows and cannot check it. I believe this is a better
> patch than the one attached to issue 1306 by Francois Beausoleil
> (Francois, do you agree?). I will commit it and close issue 1306 if
> someone confirms it.
>
> Log:
> [[[
> Book: update the information on using a Windows drive letter in a "file:"
> URL.
>
> * doc/book/book/appc.xml
> Replace the FAQ about working around the inability to specify a drive
> letter with one pointing to the section on how to do it.
> * doc/book/book/ch02.xml
> Correct, update and explain the examples of using a drive letter in a
> URL.
> ]]]
>
> - Julian
>
Developer of Java Gui Builder
http://jgb.sourceforge.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 29 21:20:27 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.