On Monday 27 October 2008 12:53:44 Eric Kow wrote:
> More Haskell comments.  Again, it may be useful for somebody else to
> look into the actual logic behind the code...

The logic looks fine: if a file is not in the pristine or pending state, it is 
not in the repository.

> +       if exist then do (rec, pend) <- slurps
> +                        when (not $ or [(slurp_has fp rec),(slurp_has fp
> pend)])

Have you looked at co_slurp to create one slurpy instead of checking two 
slurpies? That's what the code in Darcs.Repository.Internal does when it 
checks the current repository state.

Regards,
Reinier  
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to