我想弄清楚如何合併分支從一個單獨的回購到當前。從不同的存儲庫合併Mercurial分支
我有以下幾點:
PJT1 - 包含分支默認和foodog
PJT2 - 包含分支默認
從PJT2,我做了以下內容:
$ hg fetch -y ../PJT1 -r foodog -m "this is a test"
現在,如果我查看PJT2,我會看到正確的文件和更改。但是,我如果我做hg branches
,我得到如下:
[[email protected] pjt2]$ hg branches
foodog 1:c1e14fde816b
default 0:7b1adb938f71 (inactive)
和hg branch
揭示了以下內容:
[[email protected] pjt2]$ hg branch
foodog
我如何將內容從PJT1的foodog
支進PJT2的default
分支?