[darcs-devel] [patch1755] disentangle D.R.State.filteredWorking

Ben Franksen bugs at darcs.net
Mon Dec 10 13:20:26 UTC 2018


Ben Franksen <ben.franksen at online.de> added the comment:

> I don't understand why using 'expand' on pending_tree means that
> newly added files will now be found, but if you've tested it
> thoroughly I'll go with that.

Nothing under a stub item will be reported as found by the pure
functions that operate on a tree, including filters.

> I also missed your previous question about how to keep code that
> essentially forms a useful behaviour specification. I'd agree
> with putting it in controlled by a global constant - maybe expose
> the equivalence check as a test?

I would have done if it were easily possible. The stated equivalence is
an invariant that must be maintained by any code that updates the index
and since these are all IO actions...

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch1755>
__________________________________


More information about the darcs-devel mailing list