Mercurial: keep 2 branches in sync but with certain persistent differences?

前端 未结 5 1737
Happy的楠姐
Happy的楠姐 2021-02-02 01:25

I\'m a web developer working on my own using django, and I\'m trying to get my head round how best to deploy sites using mercurial. What I\'d like to have is to be able to keep

5条回答
  •  遥遥无期
    2021-02-02 02:07

    I actually do this using named branches and straight merging instead of transplanting (which is more reliable, IMO). This usually works, although sometimes (when you've edited the different files on the other branch), you'll need to pay attention not to remove the differences again when you're merging.

    So it works great if you're not changing the different files much.

提交回复
热议问题