Lets say, I have 2 bugs to fix : bug1 and bug2.
I start with bug1 and in the midst of fixing it, I go to bug2 and half fix it.
I return to bug1 and again partially fix it and again go to bug2.
Like this, after much switching, I finish fixing both the bugs.
The people who are to review both these bugs are different and want nothing to do with the bug they aren't concerned with. So, I need to provide them with different patches.
If I were using plain hg diff
, I would have done :
hg diff -U 7 -p file1 -r OLD_REVISION_NUMBER > patch1
for bug1, and
hg diff -U 7 -p file2 -r OLD_REVISION_NUMBER > patch2
for bug2
How do I do the same with Mercurial Queues? Please suggest a basic workflow.