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

RE: Case-only renames on Windows (issue #3702)

From: Bert Huijben <bert_at_qqmail.nl>
Date: Fri, 25 Mar 2011 12:14:37 +0100

> -----Original Message-----
> From: Branko Čibej [mailto:brane_at_xbc.nu] On Behalf Of Branko Cibej
> Sent: vrijdag 25 maart 2011 11:50
> To: Bolstridge, Andrew
> Cc: dev_at_subversion.apache.org
> Subject: Re: Case-only renames on Windows (issue #3702)
> On 25.03.2011 11:09, Bolstridge, Andrew wrote:
> > (after all, the http transport should be case-insensitive too, I get
> > to the same place typing in www.apache.com or www.APACHE.com, but
> not
> > when it comes to the svn repo url).
> Oops. Host names are are case-insensitive by definition. Paths in URLs
> are not.

Since Subversion 1.6.0 we normalize all schema and hostnames in urls to lower case. (Urls stored in working copies are automatically converted on upgrading to 1.6.x).

The rest of the url is kept as-is.

In Subversion 1.7 we extended this normalization a bit further to always use the same character escaping, so http://host/path and http://host/p%61th are the same url in 1.7, but not in 1.6.

Only the first format is canonical, so you get an error if you pass the second form to an internal API. Clients can use svn_uri_canonicalize() to get the canonical format of a user provided url.
(Older clients are expected to use the now deprecated svn_path_canonicalize())

Received on 2011-03-25 12:15:04 CET

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.