[darcs-devel] [issue266] wrong exit code and cryptic error message if dist fails

Tommy Pettersson bugs at darcs.net
Fri Sep 15 16:24:17 PDT 2006


New submission from Tommy Pettersson <ptp at lysator.liu.se>:

If the file _repo.tar.gz exists and is non-writable, "darcs dist" prints

  gzip: compressed data not written to a terminal. Use -f to force compression.
  For help, type: gzip -h
  Created dist as _repo.tar.gz

and returns with success.
But the dist tar file has *not* been created (overwritten).

Darcs should catch the error and fail.

----------
messages: 990
nosy: EricKow, droundy, tommy
priority: bug
status: unread
title: wrong exit code and cryptic error message if dist fails

____________________________________
Darcs issue tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue266>
____________________________________




More information about the darcs-devel mailing list