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

Re: Handiling of ra_local URL for UNC path

From: Kazutoshi Satoda <k_satoda_at_f2.dion.ne.jp>
Date: Sat, 22 Mar 2008 19:33:53 +0900

Stefan Küng wrote:
> Fixed in r12400.
(snip)
> Fixed in r12403.

Thank you. I'll test the nightly.

>> Also, I prefer "file://host/path" form which is supported since
>> Subversion 1.2. Then I propose changing default form of URL for
>> UNC path.
>
> While that form works for non-UNC paths, it is *not* the default form.
> All Subversion APIs return the form file:/// when asked for URLs.

What API returns the URL for a specific local (including UNC) path?
I couldn't find such a function in svn_client or svn_ra.

I found svn_ra_local__split_URL() in
subversion/libsvn_ra_local/ra_local.h. The URL to local-path conversion
is done in this function. But this is not a public API and also the
result seems to be not visible from client.

In that function, I can see a comment that is saying the form
"file:///\hostname/path" is supported for compatibility with old
working copies.

>> I made the attached patch by simple grep for "file://". I'm sorry
(snip)
> every feature. Sorry, but a simple grep replace just doesn't work.

I made the actual changes by hand, not by simple replace. I did grep
only to find the points to see. But never mind if the patch really
breaks features. I'm sorry about that.

-- 
k_satoda
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-03-22 11:34:03 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.