我想不通为什么我仍然无法推送到远程仓库:水银:无法推到远程仓库后拉合并提交
> 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