Artifact
4623efbe1b27694ea93b235fa4d79a325e86c2ea:
Ticket change
[4623efbe1b]
- New ticket [f35bb2003c]
Request cmd line return 1 if no files updated, 2 for errors.
by
ron
2010-03-07 10:58:13.
D 2010-03-07T10:58:13
J comment As\sit\scurrently\sworks,\sFossil\sreturns\s'0'\son\sany\scommand\swhich\ssucceeded,\sor\s'1'\sif\sthe\scommand\swas\sunknown\sor\sambiguous.\r\n\r\nIt\swould\sbe\suseful\sto\sbe\sable\sto\sdifferentiate\sbetween\s'no\sfiles\swere\supdated'\sand\s'there\swas\san\serror'\sin\sscripts.\s\sTherefore\sI\swould\slike\sto\srequest\sthat\s"0"\sbe\sreturned\swhen\s'all\sis\swell',\s'1'\swhen\s'upd'\sor\sother\scommand\supdated\sfiles\son\sdisk\s(adding,\sremoving\sor\supdating),\sand\s'2'\sif\sthere\swas\sa\sproblem\sunderstanding\sthe\scommand.\s\sPerhaps\s'3'\sif\sthe\scommand\sactually\sfailed\sbut\swas\sunderstood.
J severity Minor
J status Open
J title Request\scmd\sline\sreturn\s1\sif\sno\sfiles\supdated,\s2\sfor\serrors
J type Feature_Request
K f35bb2003cc81e6c62b6f51377144e860280d9a5
U ron
Z 9accced0b6a0f6eb6c3199c7e566131a