Merge only a one remote branch into a local branch with Mercurial
- by Pepijn
I wan to manage some profiles as XML files in Mercurial repos.
The setup I'm thinking of:
Each user has a repo with a branch where he manages his own profile, and a number of branches where he can pull and merge other profiles from that branch of another user.
So for example I have my own profile branch and a branch labeled friends, in which I want to pull the profile branches of a few remote repos, to collect like a collection of profiles.
I figured out that since the repos are unrelated I need to use -f, but I can't figure out how to pull and merge only a single branch into another.
So I want like
me friend someone
profile ---> friends <--- profile
\-> family
friends <--- profile
Is this even possible? Should I use separate repos instead? Is there a better solution?