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

Re: Error when trying to update

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Tue, 1 Jul 2008 16:02:24 -0500

On Jul 1, 2008, at 08:31, emerson cargnin wrote:

> I use:
> svn server 1.4.4 (r25188).
> tortoise client 1.4.4
>
>
> I got the following error:
>
> Error: In directory
> 'C:\Workspace\BranchLive\QA\qtpTests\searchFrontend\regressionTest
> \COV1\Action1\SnapShots'
> Error: Can't move
> 'C:\Workspace\BranchLive\QA\qtpTests\searchFrontend\regressionTest
> \COV1\Action1\SnapShots\.svn\tmp\ssf27f0.html.z.tmp'
> to 'C:\Workspace\YellDotComBranchLive\QA\qtpTests\searchFrontend
> \regressionTest\COV1\Action1\SnapShots\ssf27f0.html.z':
> Error: The system cannot find the file specified.
>
> And this happens only with the branch, which hasn't been changed in
> this folder.
> I tried also with client 1.5 but still the same error.
> I couldn't find any reference on this, any ideas?

I see from your paths that you're on Windows, which usually uses a
case-insensitive filesystem.

Do you maybe have two files in that directory whose names differ only
in case? That can cause this error. Two files whose names differ only
in case can coexist in the same directory with no problems in a
Subversion repository, or on a case-sensitive filesystem, but not on
a case-insensitive filesystem. You can use "svn ls URL" to look in
the repository URL directly to see if my hunch is correct. If so, you
can use "svn cat URL" to see the contents of the two files. If they
are identical, you can use "svn rm URL" to remove the file that you
don't want to keep, or "svn mv URL1 URL2" to move it to a different
name so that you can check it out.

This problem comes up so often on the list. It should be turned into
a FAQ entry. And then, Subversion should be modified to detect the
situation and issue a better error message, for example: "Error:
Cannot check out directory SnapShots on a case-insensitive filesystem
because ssf27f0.html.z and ssf27f0.html.Z differ only in case". This
bug says no Subversion developers use case-insensitive filesystems,
as an explanation for why the error message has not been improved:

http://subversion.tigris.org/issues/show_bug.cgi?id=2010

Is that still the case? No Subversion developers use Mac OS X or
Windows?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-01 23:02:57 CEST

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.