Stan Devyatovsky wrote:
>See, I don't need both "Index.html" and "index.html" at the same
>location. I simply want to rename "Index.html" into "index.html".
>What's the problem? Is it OS which doesn't allow to rename
>"Index.html" into "index.html"? Definitely not.
>
>
Yes, case-only rename is something that shoudl "just work" but...
>So I suggest not to force users to work around this problem, but
>automate this workaround in Subversion, just so that the users
>wouldn't have to worry about it at all.
>
>What needs to be done in Subversion to solve this issue? Just a couple
>of things:
>1. Force "svn rename Index.html index.html" to internally execute just
>as if we were executing:
>"svn rename svn://server/repos/Index.html svn://server/repos/index.html"
>2. Force "svn update" to delete files first, and add files then. This exact order.
>
>These two small things will solve the problem forever.
>
>
"These two small things" are not small things. Unfortunately, we (I)
made a fairly basic mistake in not taking account of case-only rename
when the working-copy code was designed (or "designed", rather,
sigh...). That code was written with a case-sensitive filesystem in
mind, and because of that it makes some incorrect assumptions about when
file names are "equal".
Anyway. It's not a one-liner bug fix, or even one afternoon's work.
Unfortunately.
>And this is much more likely to be fixed in future versions of
>Subversion, rather than "case-insensitive" OS will become
>"case-sensitive". I strongly doubt the last one will ever be the case. :)
>
Oh, I can agree with that completely. :-)
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 21 15:29:31 2004