darcs

Patch 1278 add generic support for deprecated options (and 1 more)

Title add generic support for deprecated options (and 1 more)
Superseder Nosy List bfrk
Related Issues
Status accepted Assigned To
Milestone 2.10.0

Created on 2015-02-13.02:14:24 by bfrk, last changed 2015-03-08.20:41:33 by gh.

Files
File name Status Uploaded Type Edit Remove
add-generic-support-for-deprecated-options.dpatch bfrk, 2015-02-13.02:14:23 application/x-darcs-patch
patch-preview.txt bfrk, 2015-02-13.02:14:23 text/x-darcs-patch
unnamed bfrk, 2015-02-13.02:14:23
See mailing list archives for discussion on individual patches.
Messages
msg18116 (view) Author: bfrk Date: 2015-02-13.02:14:23
2 patches for repository http://darcs.net/screened:

patch 6c2380a5fb7e187e1b146157b75d1820d4930276
Author: Ben Franksen <benjamin.franksen@helmholtz-berlin.de>
Date:   Fri Feb 13 02:17:08 CET 2015
  * add generic support for deprecated options

patch 09e4b9d7cf9bd19e844e12f7fedbd9d41863607e
Author: Ben Franksen <benjamin.franksen@helmholtz-berlin.de>
Date:   Fri Feb 13 02:27:23 CET 2015
  * deprecate the --hashed option in a more systematic manner
Attachments
msg18123 (view) Author: bfrk Date: 2015-02-13.15:44:29
This also slightly elaborates the deprecation message and should
therefore go into 2.10.
msg18126 (view) Author: bfrk Date: 2015-02-13.16:07:51
By re-enabling some code that was commented out, this patch also fixes a
haddock syntax error.
msg18276 (view) Author: gh Date: 2015-03-08.20:41:33
I agree it is much cleaner to mark flags as deprecated in the place they
are defined, and not in the code of individual commands that use them.
Accepted.
History
Date User Action Args
2015-02-13 02:14:24bfrkcreate
2015-02-13 15:44:29bfrksetmessages: + msg18123
milestone: 2.10.0
2015-02-13 15:49:31bfrksetstatus: needs-screening -> needs-review
2015-02-13 16:07:51bfrksetmessages: + msg18126
2015-03-08 20:41:33ghsetstatus: needs-review -> accepted
messages: + msg18276