[PATCH v2] rollback: add a config knob for entirely disabling the command
Gregory Szorc
gregory.szorc at gmail.com
Wed May 4 11:04:40 EDT 2016
On May 4, 2016, at 06:56, Kevin Bullock <kbullock+mercurial at ringworld.org> wrote:
>> On May 4, 2016, at 01:02, Gregory Szorc <gregory.szorc at gmail.com> wrote:
>>
>> 'hg rollback' is already marked as deprecated. Can we rename it (debugrollback?), remove it entirely, require a config option to enable it, or move it to an extension?
>
> Remember that "deprecated" in Mercurial doesn't mean "slated for removal", it means "not recommended or supported but will continue to work as it did". I think having a knob to disable it is the best we can do.
I know. It's just that this command is a massive footgun that when fired can lead to permanent data loss. That violates a core principle of VCS tools: don't lose my data. I feel that's a bigger concern than BC.
>
> Patch LGTM.
>
> pacem in terris / мир / शान्ति / سَلاَم / 平和
> Kevin R. Bullock
>
More information about the Mercurial-devel
mailing list