svn doesn't accept @ in URL's (must be encoded as %40)
Karl Fogel
kfogel at red-bean.com
Wed Oct 15 22:55:42 CDT 2008
Vincent Lefevre <vincent at vinc17.org> writes:
>> $ svn co svn+ssh://svn@localhost@
>>
>> If the Subversion book is not clear on this point, it needs to be
>> patched.
>
> I propose the attached patch.
I think it might be better to find one central place where this syntax
is explained (or make such a place, if it doesn't already exist), and
then refer to it from here. Just a suggestion; it's up to the book devs
to figure out what to do with this tricky topic :-).
-Karl
> Index: src/en/book/ch06-server-configuration.xml
> ===================================================================
> --- src/en/book/ch06-server-configuration.xml (revision 3332)
> +++ src/en/book/ch06-server-configuration.xml (working copy)
> @@ -1208,10 +1208,13 @@
> URL scheme, the Subversion client will actually be running the
> command <userinput>rsh host svnserve -t</userinput> behind the
> scenes. If you include a username in the URL (e.g.,
> - <literal>svn+rsh://username@host/path</literal>), the client
> + <literal>svn+rsh://username@host/path@</literal>), the client
> will also include that in its command (<userinput>rsh
> - username at host svnserve -t</userinput>). But you can define new
> - tunneling schemes to be much more clever than that:</para>
> + username at host svnserve -t</userinput>). The second
> + <literal>@</literal> is necessary, otherwise
> + <literal>host/path</literal> would be interpreted as a peg
> + revision. But you can define new tunneling schemes to be much
> + more clever than that:</para>
>
> <screen>
> [tunnels]
More information about the svnbook-dev
mailing list