[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 21 Dec 2011 19:26:09 +0100

On 21.12.2011 03:57, DanielM wrote:
> Environment: Windows XP SP3 / TortoiseSVN 1.7.3 / SVN Server 1.7.2
> Subversion 1.7 finally supports case-only file renames on Windows.
> (For those that weren't aware of this, see issue 3702 in the main
> Subversion project for details). Now consider the following scenario
> in TortoiseSVN:
> - Assume you have a file in SVN and in your working copy named
> "hello.txt".
> - In Windows Explorer (not through TortoiseSVN) rename the file to
> - Select either "Commit" or "Check for modifications" in TortoiseSVN,
> and TortoiseSVN will silently revert the file name back to
> "hello.txt".
> 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.

Why don't you use an svn plugin for your IDE and do it right from the
start? That way, the rename is done with the proper svn commands and svn
actually knows that it's a rename, not some unrelated add and delete.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-12-21 19:26:20 CET

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