Merge problems with maven and mercurial
Ever since we switched from SVN/Ant to Mercurial/Maven I have been experiencing a lot of merge problems between release branches. The following scenario is typical:
- We have a release branch, named something like stable-3-7-x, where we publish a new release with the maven release plugin.
- Then we merge the changes into a different branch (or the trunk, depending on the circumstances).
- I merge the usual way, leading lots of pom conflicts.
- I mark the poms as resolved without further ado and commit with conflicting edits still in place.
- Then I revert all pom.xml files to the last revision before the commit step above.
- Finally, I commit the reverted pom files.