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

Re: Change case on a filename in wc under Windows?

From: Tristan Seligmann <tristan_at_quotemaster.co.za>
Date: 2003-12-19 11:02:41 CET

John Peacock wrote:
> This isn't enough. The problem is that e.g. NTFS maintains case, but
> does not enforce it (how stupid can you get?). So even if you change
> the case on the server via direct URL edits, the WC file will not change
> case unless you actually delete the file and check it out again.

Changing case locally results in even worse problems; if you have a file
called 'FILE' but subversion has a versioned file called 'file' it will
identify 'FILE' as unversioned (which is fine), but not realize that
operations on 'file' will actually affect 'FILE'. Specifically, it will
try and check 'file' out again, silently overwriting 'FILE', as opposed
to something like the 'obstructed' message one would get with an
existing 'file' that is unversioned (although obviously such a file
couldn't exist in this specific situation).

(If you're wondering how this sort of thing happens, remember that any
DOS - actual DOS, not Win32 console - program writing out a file will
change the case to uppercase...)

Tristan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 19 11:02:15 2003

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.