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

Re: Uppercase and lowercase in filenames

From: Branko ─îibej <brane_at_xbc.nu>
Date: 2004-06-21 15:27:47 CEST

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.

>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

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.