The purpose of the hg mq plugin is to be able to make perfect commits to your repository, not confusing the changes that you made in your absent-minded ADHD induced rambling through your code;
For instance....
I'm working on bug x when I notice bug y and start working on it instead. At this point you are supposed to create a new patch in the patch queue so as not to confuse the changes when it is hg qfinish
committed to your repository.
Now suppose for a minute that you forget make the new patch and in the process hg qrefresh
. Then later realizing your mistake you wish to separate the changes from that one patch into two patches.
I realize that it has to do with editing your patch file (and a new patch file) in the queue to separate the changes into separate patches and later commits. However, I'm not yet skilled at editing the diff patch files.
Where can I learn about this? And how might one go about this?