You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Juergen Sachs <Ju...@mobacomp.de> on 2005/10/07 16:42:35 UTC
problems checking out on windows
Hello list,
I think I read about this in the past, but did not find the right words to
find it again, so I set up a new thread.
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"
I cut of the unimportend part of the filename.
If look in the log and the changed file, I see that the file is named
"TEXT.txt" now. So I think the connection between the file "Temp.txt" and
"TEMP.txt" is lost.
Stupid mistake, but I think svn should complain about this on the commit not
on the checkout, when it is too late.
I use tortoise 1.2.1 and svn 1.2.1 on win xp pro sp 2.
MY quick workaround was to make a "open" in the "show log" dialog of
tortoisesvn, which work fine, and restored the file content from this file on
a version before I made the rename.
Any one see this before ? Is there a fix for this or an open case ?
Thanks for your help
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: problems checking out on windows
Posted by Ryan Schmidt <su...@ryandesign.com>.
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