I am considering a switch from SVN to Hg and currently have a typical SVN layout for project Foo:
Foo
trunk
branches
1.0
1.1
I can import this structure into Hg using the hg import
command, creating a separate repository for the trunk and two branches (by using the --config convert.hg.clonebranches=1
import switch.)
Now, if a customer finds a bug in v1.0 of Foo, how can I apply this fix to the 1.1 and trunk repositories? They're separate copies of the old SVN branches so hg merge
isn't going to work is it?
If I was starting a new project from scratch on Hg then I could use tags for the different releases and easily merge changes from one tag to another, but I don't have this luxury when importing from SVN ... or have I missed something?