Ok, I have tried searching for something concrete, but haven't come up with anything.
If I am working away on new features in my default branch and a bug report comes in from previous work, what is the best way to handle the fix and pushing? I was trying Bookmarks, but then I saw that it also pushes ancestors. This is what I was doing...
- Work on default branch for future changeset (rev 76)
- Switch to bug fix in middle of coding
- hg bookmark main (for current work)
- hg bookmark -r 76 fix1 (for bug work)
- hg update fix1
- hack hack on now rev 77
- hg commit -m 'bug fix'
- hg update main
- hg push -B fix1
And that's when I noticed that 76 also went up.
Since I don't want new unfinished work going up, just the bug fix, what would be the best way to approach this? Clones for bugs?
Thanks.