[darcs-users] Why is darcs using the cache when I haven't told it to?

Christian Kellermann Christian.Kellermann at nefkom.net
Tue Jan 27 15:06:16 UTC 2009


* Simon Marlow <marlowsd at gmail.com> [090127 15:45]:
> I was investigating why darcs was taking so long to do operations on a tiny 
> repo I just created, and it turns out that it's looking in ~/.darcs/cache, 
> which in my case has grown huge (and is NFS-mounted).  I distinctly 
> remember turning off the cache at some point, and indeed I have no 
> ~/.darcs/sources file.

Because it also grabs sources lines from repo defaults as I have found out earlier.
The culprit is the getCaches function in src/Darcs/Repository/Prefs.lhs.
I will mail a patch to fix this this week if you can wait that long.

Kind regards,
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20090127/afe04026/attachment.pgp 


More information about the darcs-users mailing list