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

Re: case insensitivity revisited

From: Ted Dennison <dennison_at_ssd.fsi.com>
Date: 2006-10-26 20:04:51 CEST

Dan Armbrust wrote:
> Well, Subversion may work correctly. But Susie Q web developer is
> writing webpages on her windows machine. She is using some broken
> application which decides it feels like renaming foo.htm to Foo.htm.
> Her links to foo.htm still work for her, on her windows machine. She
> checks in her changes, and Subversion does the right thing and picks
> up the rename.
>
> A server administrator checks them out onto a unix machine, and
> deploys them, and now many of her links are broken. All you have done
> is push the user error somewhere else, and made it more difficult to
> detect and find.
I agree that's a problem, but it has nothing to do with Subversion. If
there were no revision control in the loop, the exact same problem would
occur.

Anyway, under the scheme I was talking about, you'd still have no
problem. When Susie asks to check in Foo.htm, Subversion sees that she's
on a case-insensitive filesystem and updates "foo.htm" instead, and
things still work under Unix just fine.

> Yes, that is exactly what it is. A bug in your tools. Windows is a
> case-preserving file system. If you tools are not preserving the
> case, then they are not working the same way as the file system.
I think its more accurate to say "Windows is a case-agnostic file
system." Sure, filesystem file updates generally won't change the
filesystem's casing of the filename, but the operational reality is that
very few tools care. Any tool that caches a filename in some kind of
config file on Windows expects that the casing is not significant. This
includes many of the OS vendor's own tools. VisualStudio for one. Yeah,
you could try to claim this is just another "bug" in VisualStudio, but
it won't really help me any. I still have to get it to work, and it
works just fine when VisualStudio is talking to VSS. Its only Subversion
that has a problem.

> If you must use tools that make such poor assumptions about the world
> they live in, then maybe you will need to use an all lowercase naming
> scheme with your files.
That doesn't even help for working copies, as the file's parent
directory's casing can be an issue too. Windows also doesn't care if I
call my base hard drive "C:\" or "c:\".

-- 
T.E.D.   Work     -  mailto:dennison@ssd.fsi.com
         Home     -  mailto:dennison@telepath.com (Yahoo: Ted_Dennison)
         Homepage -  http://www.telepath.com/~dennison/Ted/TED.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 26 20:16:15 2006

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.