我想不通爲什麼我仍然無法推送到遠程倉庫:水銀:無法推到遠程倉庫後拉合併提交
> hg pull
pulling from ......
searching for changes
no changes found
> hg merge
abort: branch 'default' has one head - please merge with an explicit rev
(run 'hg heads' to see all heads)
> hg heads
changeset: 12942:...
tag: tip
parent: 12940:...
parent: 12941:...
summary: merge
> hg branches
default 12942:...
> hg commit
nothing changed
最後
> hg push
pushing to ...
searching for changes
abort: push creates new remote heads on branch 'default'!
(did you forget to merge? use push -f to force)
爲什麼會這樣?
'hg branches'輸出什麼? – 2011-06-08 22:29:07
已添加到問題 – 2011-06-08 22:34:47
您在合併之前更新過嗎? – James 2011-06-08 22:38:02