[darcs-devel] Add --show-external?

Juliusz Chroboczek Juliusz.Chroboczek at pps.jussieu.fr
Tue Dec 12 06:44:00 PST 2006


> Should we add a flag --show-external that dumps the external commands?
> I started to do this, but it means propagating [DarcsFlag] all over
> the place, and the patch is going to be pretty big.  Does anyone
> object to this?  In GHC when we have to propagate a flag everywhere we
> sometimes resort to a top-level unsafePerformIO instead (since the
> flag is always constant for a given run of darcs, this isn't so bad).

I'd vote for either the imperative global, or an environment variable
accessed from foreign code, as is done with DARCS_SLOPPY_LOCKS.

                                        Juliusz




More information about the darcs-devel mailing list