Ticket Change Details
Not logged in
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

  1. 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.
    
  2. severity changed to: "Minor"
  3. status changed to: "Open"
  4. title changed to:
    Request cmd line return 1 if no files updated, 2 for errors
    
  5. type changed to: "Feature_Request"