SimonAx
SimonAx

Reputation: 1378

Continuous merging of multiple Mercurial repositories

I'm working on a website that has been in production for some year now. Soon I will start working on a new version, and its initial repository will be a copy of the current site's repository. After the setup of the new repositories, the two repositories of the current site and the new site will diverge. However, if I fix a bug in the current website, I'd like to merge that fix into the new website.

Until recently I used TFS, which made it easy to merge two different versions of a repository (in TFS they're called branches), but how can I achieve this using Mercurial? So far, I've only found instructions on how to merge two different repositories with the intent of discontinuing the oldest repository.

Cheers, Simon

Upvotes: 0

Views: 67

Answers (2)

SimonAx
SimonAx

Reputation: 1378

Thanks for your reply, Djc. It appears that just after asking this question at StackOverflow, I found the answer myself at Mercurial's site: https://www.mercurial-scm.org/wiki/MergingUnrelatedRepositories

Upvotes: 0

djc
djc

Reputation: 11711

I don't think there's a problem. You can just merge from the old site into the new site, and continue to do so for as long as you want.

Upvotes: 1

Related Questions