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

Changing case in a filename (documentation issue)

From: Matthew Kidd <matthew.j.kidd_at_gmail.com>
Date: Fri, 29 Oct 2010 13:42:33 -0700

Section 4.14.3 of the documentation shipped with TortoiseSVN 1.6.11
discusses renaming files when only the case is to be changed. I find that
solution A (recommended) works fine. But at some point one of the coders
here had tried something analogous to solution B, i.e. renaming to an
intermediate name. Everything committed, but now when we try to do a fresh
checkout of the repository, we run into a problem. To simplify things a bit
for testing, I created a new repository, with a single file foo.txt which I
tried to rename to Foo.txt exactly as outlined in solution B. Again the
changes committed but a fresh checkout fails as follows:

 

Command: Checkout from http://coral.ghc.local:3200/svn/casetest, revision
HEAD, Fully recursive, Externals included

Added: Z:\Eclipse\casetest1a\Foo_.txt

Added: Z:\Eclipse\casetest1a\Foo.txt

Added: Z:\Eclipse\casetest1a\foo.txt

Error: In directory 'Z:\Eclipse\casetest1a'

Error: Can't open file
'Z:\Eclipse\casetest1a\.svn\tmp\text-base\foo.txt.svn-base':

Error: The system cannot find the file specified.

Finished!:

 

It seems to me that either solution B should be removed from the
documentation or that the issue should be addressed. I'd be okay with the
former approach since I understand full well the headaches a case aware but
case insensitive filesystem like NTFS can create.

 

Also I think the warning below when one tries to make a case only change to
a filename, should note the exact section of the documentation, e.g. See
Section 4.14.3.

 

It is not possible to rename a file by changing the case of its name alone.

For example, you can't make MyFile.txt become MYFILE.txt.

Please consult the documentation for a way to work around this limitation.

 

  - Matthew Kidd

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-10-29 22:44:55 CEST

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.