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

Re: problems checking out on windows

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-10-07 20:10:08 CEST

On Oct 7, 2005, at 18:42, Juergen Sachs wrote:

> I used subversion with tortoise svn on win xp pro.
> I had a working project, and accidently renamed a file in case
> only. So the
> file was named "TEST.txt" instead of "Test.txt".
> The commit after this change worked fine, but the checkout failed.
> I got an message like
> "In directory temp\"
> "Can't copy temp\ßtext-base\Temp.txt"2
> "to tmp\Temp.txt"
> "The system could not find the file"

To correctly update a working copy after someone has done such a
commit, you first update the file with its old name; this deletes the
file locally. Then you update the directory it's in (or the whole
working copy), which creates the file again with its new name:

http://subversion.tigris.org/faq.html#case-change

To prevent people from committing files with names differing only in
case, use a pre-commit hook written for that purpose. A script called
check-case-insensitive is provided in the source distribution.
Subversion 1.2.3 still comes with the Perl version, though it has
since been rewritten in Python and that version apparently works
better. You can find it in the repository:

http://svn.collab.net/viewcvs/svn/trunk/contrib/hook-scripts/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 7 20:12:24 2005

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

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