jjui icon indicating copy to clipboard operation
jjui copied to clipboard

FR: Disable "Are you sure" message when abandoning revisions

Open augustebaum opened this issue 1 month ago • 2 comments

Is your feature request related to a problem? Please describe.

I'm always frustrated when I have to confirm that I want to abandon revisions, when jj undo and jj op restore exist

augustebaum avatar Nov 07 '25 21:11 augustebaum

hmm i feel like this is a personal preference kind of thing, we might be able to make this a configurable option.

baggiiiie avatar Nov 10 '25 02:11 baggiiiie

Hey thanks.

It's there to show what's going to happen. There are cases where if a pressed on a conflicted revision, it will abandon both so the confirmation tells that. However, nobody reads it and when they see something is wrong then they just undo.

we might be able to make this a configurable option.

I believe we have already too many configuration options and this would look out of place.

I have thought of changing abandon to show << abandon >> this revision will be abandoned next to the selected revisions when a is pressed and then pressing enter confirms the action, but that's just a presentation change. (as in still requires user to confirm)

At this point, I don't think I am going to change anything but will take this request as something to consider when the time comes.

idursun avatar Nov 10 '25 09:11 idursun