문제

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

도움이 되었습니까?

해결책 2

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

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top