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

Re: Improve support for case-only file renames

From: Rolf Campbell <rcampbell-cygwin_at_dragonwaveinc.com>
Date: Wed, 21 Dec 2011 09:42:08 -0500

On 2011-12-20 21:57, DanielM wrote:
> Please consider adding an option to TortoiseSVN to make it NOT revert
> the case of the file name. The behavior that I am expecting in the
> above scenario is for TortoiseSVN to consider it a rename operation,
> i.e. SVN Delete "hello.txt" and SVN Add "HELLO.TXT". I realize that
> some people like the current behavior because they have programs
> (Delphi IDEs?) that silently change the case of file names, so they're
> happy to have TortoiseSVN change it back. However, I have the exact
> opposite problem: I use programs that purposely change the case of
> file names (e.g. changing the case of a Java class name in an IDE) and
> it is unfortunate that TortoiseSVN wipes out these changes.

The problem with that idea is that it makes an assumption about what has
happened outside SVN.

What if I a file named "HelloHenry.txt" file checked out, then I delete
it using Windows explorer (because I decide I don't need it anymore),
and then I create a new, completely unrelated file called
"HellOhenry.txt". The first file was talking to a guy named "Henry",
the 2nd file was complaining about a chocolate bar. With your rules,
TSVN would assume I had re-named the file and show it that way.

Making TSVN start trying to guess what you have done outside of SVN
control gets tricky and dangerous, especially when there are scenarios
when it guesses wrong.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2897132

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-12-21 15:43:06 CET

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