> -----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
> > 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