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

Re: Lock problem on OSX (Darwinports)

From: Ryan Schmidt <subversion-2006q2_at_ryandesign.com>
Date: 2006-06-19 18:55:11 CEST

On Jun 19, 2006, at 18:06, Bakki Kudva wrote:

> On 6/16/06, Ryan Schmidt wrote:
>
>> On Jun 16, 2006, at 16:37, Bakki Kudva wrote:
>>
>> > $ svn status
>> > ? Rakefile
>> > ? readme
>> > ! L .
>> > .... etc
>>
>> > $svn cleanup
>> > svn: In directory '.'
>> > svn: Can't copy '.svn/tmp/text-base/Rakefile.svn-base' to
>> > 'Rakefile.tmp': No such file or directory
>>
>> Are you having a case collision? Two files in the same directory
>> whose names differ only in case? Such as "Rakefile" and "rakefile"?
>> The default Mac and Windows filesystems cannot handle that. This FAQ
>> is relevant to this situation:
>>
>> http://subversion.tigris.org/faq.html#case-change
>
> I take back what I said. There indeed is a case collision. At the root
> of my project there are two files called readme and README. In the
>
> prop-base props text-base wcprops
>
> directories there are two verisons of this file.
> readme.svn-base README.svn-base
>
> On Linux if I do a fresh co I get both of them. However on OSX it
> borks and I get a lock on the dir.
>
> I think I got the README file when I upgraded Rails to v 1.1 and did a
> Rake upgrade.
>
> Thanks for the pointer.

You're welcome -- glad it ended up helping.

Those case collisions are pesky. You can install a pre-commit hook to
prevent such commits from happening, to make life easier for people
on case-insensitive file systems. The Subversion source distrubution
(and the repository) includes some contributed scripts you can use:

http://svn.collab.net/repos/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 Mon Jun 19 18:57:24 2006

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.