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

Re: Handling of ra_local URL for UNC path

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 24 Mar 2008 08:39:42 +0100

Kazutoshi Satoda wrote:
> Stefan Küng wrote:
>> The new form doesn't properly work with UNC paths. Depending on which
>> command you use, it sometimes simply doesn't work (in some commands,
>> the url is parsed wrong, then an URL like file:////server/folder gets
>> split up into file://, server/folder - and 'server/folder' is *not* a
>> valid path).
>
> "file:////server/folder" doesn't work because svn_path_canonicalize()
> suppresses double slashes in a URI after the schema.

But Subversion *requires* that each application calls
svn_path_canonicalize() before passing a path to any API.
Which means the 'old' form is the *only* one that really works.

> The old form "file:///\server/folder" is a way to avoid such double
> slashes.

in that case I wouldn't call it the old form but the only working one.

What I maybe not quite get:
What exactly do you want to change in TSVN? The path/URL handling works,
you can use the 'new' format if you want (it works too).
Where exactly do you want TSVN to change?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-03-24 08:45:58 CET

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

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