[darcs-devel] [issue1269] Bug: predist exit status is ignored

Jonathan Daugherty bugs at darcs.net
Wed Dec 17 09:43:08 UTC 2008


New submission from Jonathan Daugherty <cygnus at janrain.com>:

Greetings,

This is to report an apparent bug in the behavior of the "predist"
preference; if the "predist" program exists with a non-zero status, it
is ignored by "darcs dist" and the dist continues on to generate the
dist tarball instead of exiting immediately.  This caused a serious
problem in a production environment and it seems to be an oversight.
Suggested fix is to exit immediately from dist -- if a hook exits
non-zero -- with the same exit status.

Thanks!

Platform: Ubuntu Linux 8.10

$ darcs --exact-version
darcs compiled on Sep 29 2008, at 21:58:25
# configured Sat Jul 26 14:09:28 CEST 2008
./configure /usr/local/share/config.site /usr/local/etc/config.site

Context:

[TAG debian: 2.0.2-2
me at mornfall.net**20080726120856]

----------
messages: 6828
nosy: cygnus1, dmitry.kurochkin, kowey, simon, thorkilnaur
status: unread
title: Bug: predist exit status is ignored

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1269>
__________________________________


More information about the darcs-devel mailing list