[PATCH] histedit: delete to drop

Sean Farley sean at farley.io
Thu Dec 10 00:45:57 CST 2015


Mykola Nikishov <mn at mn.com.ua> writes:

> timeless <timeless at gmail.com> writes:
>
>> fwiw. I'd prefer a mode where if the user omits lines, we re-present
>> the editor w/ their commands and a set of "drops" at the end of the
>> list for all of the changesets they omitted and ask them to confirm.
>>
>> While it might be a bit annoying to get a second editor, it's a lot
>> clearer and gives people a chance to verify that they did what they
>> intended. Which avoids the footgun.
>
> And it will make this feature useless - if an expert user wants to
> dropmissing, second editor would annoy him because "I know it's
> dangerous, I've explicitly enabled it, just do what I've sad".
>
> OTOH, it looks useful for novice users but why provide dropmissing
> feature then? I'm sure I wouldn't enable such feature in right mind ;-)

Well, we could have the default be a second editor and a config option
that is "assumedrop" or something like that.


More information about the Mercurial-devel mailing list