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

Improve support for case-only file renames

From: DanielM <skyewire_at_gmail.com>
Date: Tue, 20 Dec 2011 18:57:37 -0800 (PST)

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
"HELLO.TXT".
- 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.

I do realize that I can do a case-only file rename by doing a
TortoiseSVN > Rename operation in Windows Explorer. However, it's not
always convenient to do the rename through TortoiseSVN like this -
it's usually much faster to do it in another program like an IDE or
even just a regular old rename in Windows Explorer. It would be great
if TortoiseSVN had the option to support case-only file renames in
these scenarios.

Regards,
Daniel

P.S. I think the "casechange" FAQ entry should be updated to mention
that you can change the case of a filename with a regular TortoiseSVN
> Rename operation - you no longer have to use the repo browser to do
it.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-12-21 09:23:52 CET

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

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