RE: svn commit: r1486397 - /subversion/branches/1.8.x/STATUS
From: Bert Huijben <bert_at_qqmail.nl>
Date: Sun, 26 May 2013 20:51:10 +0200
> -----Original Message-----
I wish it were that simple.
The usage of file://localhost/some/location to a repository on /some/location has been hardcoded in ra_local since before 1.0, but is not part of our canonicalization rules in svn_uri_canonicalize().
The 'simple fix' to change the canonicalization rules by including this rule would require a working copy format bump, as this prefix is currently perfectly valid as a repository location. And then for this example the api works for us, but is not really part of any RFC.
That 'localhost' refers to the local machine is a convention on many platforms, but not really a standard.
On Windows we also have file:///some/path urls that refers to E:\some\path when E: happens to be the current harddrive. And this has similar conversion problems.
I think that for 1.8 we have to keep the same one to many relation between local dirents and repository urls, as in 1.0-1.7 :(
For 1.9+ we might be able to apply new canonicalization rules via a proper upgrade, but doing this now would just delay 1.8, at no real gain for our users.
This is an archived mail posted to the Subversion Dev mailing list.