Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

disable hg qfinish without changeset message

I use mercurial queues and sometimes I forget to set my message with a hg qrefresh -m ... and forget to check before I run hg qfinish and I get the message patch MyPatch finalized without changeset message. Is there any way I can make qfinish abort if there is no message?

The only way I found to fix this after I do that is to generate a patch, hg strip my last revision, reapply the patch and then commit with my message.

like image 489
Asa Ayers Avatar asked Jan 27 '26 13:01

Asa Ayers


1 Answers

Use hg qimport -r tip to turn the last changeset (your finalized patch) in to a MQ patch again.

like image 98
Martin Geisler Avatar answered Jan 30 '26 13:01

Martin Geisler



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!