[darcs-users] Meaningful exit-codes for scripting?
Norbert Nemec
Norbert.Nemec.list at gmx.de
Mon Oct 25 12:21:16 UTC 2004
On Saturday 23 October 2004 13:43, David Roundy wrote:
> I think Mark's idea is best. I prefer to have a nonzero exit code always
> indicate failure of one sort or another. Hmmmm. I suppose you could
> consider that since no record was actually performed, this was a failure,
> but it doesn't quite seem like a failure to me...
Sounds reasonable.
> darcs whatsnew does return failure if there are no changes, so you could
> also run a whatsnew first and based on its return value decide whether to
> record and tag.
That's just the kind of answer I was looking for! Is this behavior documented?
(I.e. should I have found it myself?)
--
_________________________________________Norbert Nemec
Bernhardstr. 2 ... D-93053 Regensburg
Tel: 0941 - 2009638 ... Mobil: 0179 - 7475199
eMail: <Norbert at Nemec-online.de>
More information about the darcs-users
mailing list