is there an easy way to export last n commits into a new mq queue and strip the commits from the real repository?
I do often start out developing a new feature, later realising I did something wrong/would want to use MQ to fold patches.
I am currently doing:
- Export last n commits as single patches
- Strip last n commits
- create new mq
- import all patches in reverse order
It's simple (as long as there are no merges):
And voilĂ .