Overview
Artifact ID: | 4623efbe1b27694ea93b235fa4d79a325e86c2ea |
---|---|
Ticket: | f35bb2003cc81e6c62b6f51377144e860280d9a5
Request cmd line return 1 if no files updated, 2 for errors |
User & Date: | ron 2010-03-07 10:58:13 |
Changes
- comment changed to:
As it currently works, Fossil returns '0' on any command which succeeded, or '1' if the command was unknown or ambiguous. It would be useful to be able to differentiate between 'no files were updated' and 'there was an error' in scripts. Therefore I would like to request that "0" be returned when 'all is well', '1' when 'upd' or other command updated files on disk (adding, removing or updating), and '2' if there was a problem understanding the command. Perhaps '3' if the command actually failed but was understood.
- severity changed to: "Minor"
- status changed to: "Open"
- title changed to:
Request cmd line return 1 if no files updated, 2 for errors
- type changed to: "Feature_Request"