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

Re: Error when update with case difference

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-04-26 03:04:27 CEST

On 4/25/06, Michael Flowers <4giveand4get@linuxmail.org> wrote:
> Brief:Server (KDE) has two files with case difference which generates an error.
> In Depth:I tryed downloading the KDE trunk for certain things. I encountered an error when I got to "svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebindings/korundum/rubylib/korundum/lib/KDE". Inside this folder (on the Server) there are two files, 'Korundum.rb' and 'korundum.rb'. This works on a UNIX based system, but not for windows.
> Actual Error Produced: "Can't open file '...\lib\KDE\.svn\tmp\text-base\korundum.rb.svn-base': The system cannot find the file specified."
> If you need any more info, let me know.

Your only recourse is to rename the file. Windows filesystems aren't
case-sensitive. UNIX ones are, as is Subversion. This is a known
condition but there's no "bug" to "fix" aside from advising people to
not have 2 files with the same name in the same directory differing
only in case. There is a pre-commit hook script that'll check this
and stop the commit if you're attempting to commit files in this
condition, but if the files are in there already, you're stuck.

SVN's behavior (this is not a TSVN issue, as it's really the UNIX/SVN
vs. Windows filesystems clashing) isn't going to change.

To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Apr 26 03:04:35 2006

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