On Sat, Oct 30, 2010 at 6:42 AM, Matthew Kidd <matthew.j.kidd_at_gmail.com>wrote:
> 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
> Error: The system cannot find the file specified.
> 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.
When you renamed the file from Foo.txt to Foo_txt, did you commit both the
addition and deleltion components. A rename consistent of (Delete old, add
new with history). Both portions must be committed for Solution B to work.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-10-29 23:47:43 CEST