|
2011-11-16 07:24 AEST by Arthur Barrett - change summary from:
enh: cvs admin option to 'add' a bugid to a revision
to:
enh: option 'add' or 'change' bugid/message of a revision
There is already an 'admin' option to change message, but a customer requests:
* it should be available for users
* the change should be controlled/tracked
The 'admin' command doesn't obey ACL's and uses an entire separate subsystem for reading/writing
RCS files, so it really really should not be used by users.
But we could replace 'cvs admin' with 'cvs damage' and create a new 'cvs rmod' that is aliased to 'cvs
admin' and supports the old 'change message' option but does it in a new way, and has a new option to
'change bugid'.
The way to do it would be to 'move' the old message/bugid to a revision property (eg: message-2011-
11-16-05-30-01) and then replace the message with the 'new' message.
We need to test that those properties cannot be 'overridden' any way - which I think is already the case,
and that the new code obeys the ACL's.
I think this is a much better idea than adding support for UserAdminOptions
See also:
Bug 5793: admin command legacy options should be removed
Bug 6336: port UserAdminOptions from CVS 1.12
|