[darcs-users] Literally, a boring problem

Lele Gaifax lele at nautilus.homeip.net
Sat Aug 5 19:40:57 UTC 2006


Paulo J. Matos wrote:
> Hi all,
> 
> By error, I added a patch which recorded autom4te.cache folder. Now I 
> added:
> (^|/)autom4te.cache($|/)
> 
> this line to the boring file, hoping that darcs now removed the
> folders but unfortunately it doesn't (darcs 1.0.7):
> $ darcs whatsnew -ls
> ...
> M ./autom4te.cache/output.0 -3481 +5164
> ...
> 
> Any ideas what the problem might be?
> 

Darcs doesn't and shouldn't remove anything "implicitly": you have to 
explicitly remove that file (either with darcs rm, or with a plain rm), 
and record a new patch with that fact. From then on, darcs won't 
consider that file anymore (I assume the .cache file is a trow-away 
file, more in general, you move it somewhere safe, register the patch, 
and move it back!).

hth,
ciao, lele.




More information about the darcs-users mailing list