We've recently moved our codebase from subversion to mercurial, and are doing our first release to production from the mercurial codebase this weekend.
We have a three repo setup, let's call them dev, stable and release, where dev is a clone of stable and stable is a clone of release. At the moment, dev has our version 7 code, and stable has our version 6 code. We've just pushed the version 6 code to release. Our next release, version 6.1, is scheduled for next week.
The problem is that, since we're also doing a major upgrade in the v6 release, we're expecting to release multiple times (6.0.1, 6.0.2, etc) before the 6.1 release. Going forward this won't be a problem as all three repos will have different version numbers, but right now both stable and release are v6.
If I change the version numbers in our poms on stable to 6.1, this change will have to be pulled back to dev, which will mean fixing it there before any of those artefacts can build (so as to not pollute the v6.1 release with what are really v7 artefacts).
Is there a way to tell mercurial to pull this change into dev without actually accepting the change, similar to what svn's merge --record-only does? Is the only option to pull the change to dev and then do a backout?
Thanks