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

Tommy Pettersson ptp at lysator.liu.se
Sun Nov 5 03:05:00 PST 2006


On Sun, Oct 29, 2006 at 06:13:27PM -0800, Wim Lewis wrote:
> I decided to take a stab at adding error checking to the exec calls  
> in 'Dist', but I have a question: when a subprocess fails (exits  
> nonzero), would it be better to raise an ExecException, or to raise  
> an ioError?

The other "top level commands" just:

  fail "Couldn't foo bar"

when something doesn't go their way. I don't know if that's the
best way, but at least it's accepted and practiced.


-- 
Tommy Pettersson <ptp at lysator.liu.se>




More information about the darcs-devel mailing list