[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: Sun, 23 Mar 2008 01:16:05 +0900

Stefan Küng wrote:
>>> 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.
> svn_client_info, and all svn_wc_* functions where the working copy was
> checked out with the old format.

They are returning the URL which is stored on the wc. I think they
are not related to think which form of URL should be the default.

> In know that. But there's a bug which for certain functions *requires*
> the 'old' format (file:///\hostname/path), where the 'new' format simply
> doesn't work.

I have used the new format for years since Subversion 1.2 was
released. But my wcs with such URL looks working completely.

Could you please give me a link to the bug or explain what happens
with the new form?

> Well, I could see that some functions you changed also changed their
> behavior completely (not just the URL handling).

I wasn't aware of that. I'm happy if you point out the wrong part.

> Also some changes in
> comments really looked like search/replace - they didn't make any sense
> anymore after your change.

If you are saying about the comment for IsBDBRepository(), it is
intended to include support for the new form of the URL for UNC path.

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 17:16:07 CET

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