[darcs-devel] Re: [issue323] darcs dist support for tarballs in other directories

Wim Lewis wiml at hhhh.org
Thu Oct 26 18:44:56 PDT 2006


On Oct 26, 2006, at 9:04 AM, Tommy Pettersson wrote:
> This redirection should probably not be changed. Darcs is
> reading the file listing of the tar file and later prints it (if
> verbose mode is on). Redirecting errors to Stdout will make them
> show up in the right place in what darcs prints.

That makes sense.

I wonder why the output is stored in a file at all, though --- why  
not just leave both stdout and stderr as AsIs, instead of buffering  
it up and then sending it out again?

> But it is of course arguable that printing the errors to the  
> terminal even if darcs exits with success would be better.

I think it is (of course darcs should really catch the errors and  
exit early). I was going to add the error checking as well, but I  
couldn't think of a clean Haskelly way to do it.








More information about the darcs-devel mailing list