darcs

Patch 1280 beautified error messages for command line and default...

Title beautified error messages for command line and default...
Superseder Nosy List bfrk
Related Issues
Status accepted Assigned To
Milestone 2.10.0

Created on 2015-02-13.15:38:08 by bfrk, last changed 2015-06-09.06:10:22 by ganesh.

Files
File name Status Uploaded Type Edit Remove
beautified-error-messages-for-command-line-and-default-files.dpatch bfrk, 2015-02-13.15:38:08 application/x-darcs-patch
patch-preview.txt bfrk, 2015-02-13.15:38:08 text/x-darcs-patch
unnamed bfrk, 2015-02-13.15:38:08
See mailing list archives for discussion on individual patches.
Messages
msg18121 (view) Author: bfrk Date: 2015-02-13.15:38:08
1 patch for repository http://darcs.net/screened:

patch e1ed3b126134983f223ae0907dad11e2d1dcb3da
Author: Ben Franksen <benjamin.franksen@helmholtz-berlin.de>
Date:   Fri Feb 13 03:17:12 CET 2015
  * beautified error messages for command line and default files
Attachments
msg18124 (view) Author: bfrk Date: 2015-02-13.15:55:57
Setting milestone to 2.10, even though, objectively speaking, this is
not essential. However, I think error messages are something that people
take note of, they are an important part of the general impression one
gets when using a tool.
msg18145 (view) Author: gh Date: 2015-02-17.23:09:19
How can we trigger the error messages modified by this patch?
msg18172 (view) Author: bfrk Date: 2015-02-19.22:32:08
Here is an example. Before the change:

ben@sarun[1]: .../darcs/screened > darcs record -i -a --ask-deps
--no-ask-deps --skip-long-comment --prompt-long-comment
command line
conflicting flags: interactive, all/no-interactive
conflicting flags: ask-deps, no-ask-deps
conflicting flags: skip-long-comment, prompt-long-comment

ben@sarun[1]: .../darcs/screened > 

After the change:

> darcs record -i -a --ask-deps --no-ask-deps 
Error in command line:
 conflicting flags: interactive, all/no-interactive
 conflicting flags: ask-deps, no-ask-deps
ben@sarun[1]: .../darcs/screened > 

See also patch1289.
msg18208 (view) Author: bfrk Date: 2015-02-22.09:07:23
I have been working on this a bit more and will send a follow-up patch,
explaining what I do here and why.
History
Date User Action Args
2015-02-13 15:38:08bfrkcreate
2015-02-13 15:55:57bfrksetstatus: needs-screening -> needs-review
messages: + msg18124
milestone: 2.10.0
2015-02-17 23:09:19ghsetmessages: + msg18145
2015-02-19 22:32:08bfrksetmessages: + msg18172
2015-02-22 09:07:23bfrksetmessages: + msg18208
2015-06-09 05:48:37ganeshsetstatus: needs-review -> accepted-pending-tests
2015-06-09 06:10:22ganeshsetstatus: accepted-pending-tests -> accepted