【发布时间】:2011-06-12 16:23:11
【问题描述】:
分支 -
[default]$ hg branch talks
[talks]$ <... some commits ...>
[talks]$ hg update default
合并回来 -
[default]$ hg merge talks
3 files updated, 0 files merged, 0 files removed, 0 files unresolved
推送到远程仓库 -
[default]$ hg commit -m "merging talks to default"
[default]$ $ hg push
abort: push creates new remote branches: talks!
(use 'hg push --new-branch' to create new remote branches)
进一步调查显示,远程仓库不希望我在远程端有多个头。但是我只是做了一个合并,将两个头合并为一个,不是吗?
hg serve 的图表似乎也同意我的观点(我希望)
不过,我也看到hg heads的两个头像
[default]$ hg branches
default 9:85752ecd6326
talks 8:2b00714d76d5 (inactive)
【问题讨论】: