[issue560] Getting source code
Alexander Staubo
bugs at darcs.net
Sat Nov 24 16:19:12 EST 2007
Alexander Staubo <alex at purefiction.net> added the comment:
On 11/24/07, Juliusz Chroboczek <Juliusz.Chroboczek at pps.jussieu.fr> wrote:
> > | darcs: getCurrentDirectory: resource exhausted (Too many open files)
>
> > This sounds like a Darcs bug, but it's not one I have heard before.
>
> I've definitely seen this issue, but I don't remember how it ended.
> I seem to recall that it's due to Darcs opening a number of immutable
> files using unsafePerformIO, and due to lazy evaluation, they don't
> get closed until some later time.
>
> I don't remember what the solution was. In any case, Darcs should
> leave your repository in a sane state (but run ``darcs check'' just in
> case).
I experienced this problem once -- during a pull, and apparently after
Darcs had written out the "the following files had conflicts" bit --
and although it left the *repo* in a sane state, the working directory
was all in pieces.
This is a general problem with Darcs: the working directory operations
are not atomic, so any repo operation that changes the working
directory risks applying changes that are subsequently not associated
with their patches.
Alexander.
----------
nosy: +alex1
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue560>
__________________________________
More information about the Cvs-ghc
mailing list