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

Re: file:/// access in book ch02

From: Michael Sinz <michael.sinz_at_gmail.com>
Date: 2005-04-21 23:11:49 CEST

On 4/21/05, Simon Large <slarge@slarge.plus.com> wrote:
> Hi folks,
>
> Ch02.xml, Line 383 and following reads:
> <para>For the most part, Subversion's URLs use the standard
> syntax, allowing for server names and port numbers to be
> specified as part of the URL. Remember that the
> <literal>file:</literal> access method is valid only for
> local repositories&mdash;in fact, in
> accordance with convention, the server name portion of the
> URL is required to be either absent or
> <literal>localhost</literal>:</para>
>
> With FSFS this is no longer true, certainly on Windows. You can specify
> a UNC path to another machine in the form:
>
> file:///\servername/sharename/path/to/repos

Ahh, but I think what the chapter is saying is that the standard
URI format of <type>://<server>/<path> it is the <server> bit that
should be empty (or localhost). Thus, the three (3) "/" after the
"file:"

Note that UNC paths are actually locally defined even though
they are network paths. Thus you still are accessing a "local"
path (which happens to be a networked location but SVN does
not know that).

-- 
Michael Sinz               Technology and Engineering Director/Consultant
"Starting Startups"                          mailto:Michael.Sinz@sinz.org
My place on the web                      http://www.sinz.org/Michael.Sinz
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 21 23:12:35 2005

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.