[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: Simon Large <slarge_at_slarge.plus.com>
Date: 2005-04-22 10:24:08 CEST

Max Bowsher wrote:
> Max Bowsher wrote:
>> Simon Large wrote:
>>> Max Bowsher wrote:
>>>> Simon Large wrote:
>>>>> 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
>>>>
>>>> Eek. I'm pretty certain that that is a fluke in the way the code
>>>> came together, not a deliberate design decision of any kind
>>>> whatsoever!
>>>
>>> Well I asked the question about how to access UNC paths on the list
>>> (which one - can't remember) and that was the answer that came back.
>>> No-one contradicted it at the time. What is the official way of
>>> accessing a UNC share, or are they unsupported?
>>
>> I do not know of any official or generally accepted unofficial method
>> exists
>> for representing an UNC path in an URL.
>> Thus, I believe the answer is 'unsupported'.
>
> Addendum:
>
> I've just googled my way to an official IETF internet draft, proposing
> file:////servername/path. And, just for contrast, Mozilla currently
> works with file://///servername/path. So, in summary, there is no
> standard way to access an UNC path through an URL yet, but if the
> IETF declares a standard, Subversion will likely support it.

OK, but does that mean that the file:///\ method may disappear at some
random time? Some Windows users are already using it. FWIW, TSVN
(currently) supports file:///\ and file://///, the latter being
internally converted to the former.

I see this was discussed again last October, but not resolved:
http://svn.haxx.se/dev/archive-2004-10/1222.shtml

I agree that the unsupported file:///\ method is ugly and looks wrong,
but with no fix in sight, the number of users taking it up anyway will
grow.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 22 10:23: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.