[darcs-devel] darcs patch: Unix commands are silent upon successful completion.

Ian Lynagh igloo at earth.li
Sun Apr 17 10:28:13 PDT 2005


On Sun, Apr 17, 2005 at 09:54:53AM -0400, Ralph Corderoy wrote:
> 
> [Unix commands are silent upon successful completion.
> Ralph Corderoy <ralph at inputplus.co.uk>**20050417125849
>  `darcs init' used to be noisy but isn't anymore.  `darcs opt' shouldn't
>  be either.
> ] {
> hunk ./Optimize.lhs 96
> -    putStrLn "Done optimizing!"
> }

I'd prefer this was changed to print only when we are in verbose mode
instead, i.e. something like

    when (Verbose `elem` opts) $ putStrLn "Done optimizing!"

(although if we're doing this a lot we'll want to pull
    Verbose `elem` opts
out into a variable).


Thanks
Ian





More information about the darcs-devel mailing list