[darcs-users] darcs repository corrupted

Ruben Zilibowitz rubenz at cse.unsw.edu.au
Sun Apr 15 13:51:16 UTC 2007


I have tried darcs remove .DS_Store. It didn't help. I'm going to  
create a new repository. I thought darcs would deal with .DS_Store  
files fine because there is an entry in the prefs/boring file for  
that. But obviously in my case this did not happen.

Ruben

On 15/04/2007, at 11:13 PM, Jorey Bump wrote:

> Ruben Zilibowitz wrote:
>> I originally posted this to the haskell-cafe mailing list, but  
>> perhaps this is a better place for it.
>> What does it mean if I'm trying to check out a darcs repository  
>> and I get the following error?
>> darcs: ./.DS_Store: openBinaryFile: does not exist (No such file  
>> or directory)
>> .DS_Store files ought to be filtered out by the default boring  
>> file. I don't know how one got into the repository and started  
>> causing this error.
>
> It's an evil Mac OSX behaviour I discovered in horror after I gave  
> a Mac user r/w access to my network share. It dumped one of these  
> useless files in every directory he visited. It contains some kind  
> of display configuration information, which makes it even more evil  
> on network shares, even (especially?) if you're a Mac user (I'm  
> not, so don't take my word for it). Windows does something similar  
> with those thumbnail files and sometimes desktop.ini.
>
>> Is there some way to repair the repository?
>> darcs repair doesn't seem to help.
>
> Have you tried removing the file from being tracked, using ordinary  
> means?
>
>  darcs remove .DS_Store
>
> To prevent it in the future, add a cleanup routine to your  
> project's Makefile that you can run before committing a patch.
>




More information about the darcs-users mailing list