在我的团队朋友对我们的repo执行了推送操作后,我无法执行推送操作。
首先提交,然后单击推送
Push will not be performed because it would create remote branches.
You must first resync by doing a Pull from the target repository and Merge.稍后,我点击pull,我得到了这个
INFO Pulling From: https://mercurial.intuxication.org/hg/itucs-blg361-2010-g27 ...
comparing with https://mercurial.intuxication.org/hg/itucs-blg361-2010-g27
searching for changes
no changes found
INFO Pulled From: https://mercurial.intuxication.org/hg/itucs-blg361-2010-g27
INFO To: hastaneBilgiSistemi - C:\Users\yakUP\Desktop\wicket\hastaneBilgiSistemi
INFO: End of Mercurial Pull我能做什么?
我试过更新。上面写着:
Mercurial Update
----------------
Update to revision 25 in:
C:\Users\yakUP\Desktop\wicket\hastaneBilgiSistemi
abort: crosses branches (use 'hg merge' to merge or use 'hg update -C' to discard changes)
INFO: End of Updategraph类似于:


我是mercurial的新手。
发布于 2010-12-04 07:20:12
要获得关于在服务器上创建新的头的消息,但拉出没有新的变更集,这意味着您已经拥有来自服务器的所有变更集。
你应该做的是查看你的本地克隆,并将多个头合并在一起,再次获得一个,然后你应该能够推送。
但是,您可能无法在Windows上执行此操作(从问题中的路径示例判断),因为在两个文件之间存在大小写折叠冲突:
中的大写P
这将阻止您实际使用该分支,除非某个系统认为这两个文件是不同的文件(如*nix)为您删除其中一个文件,推送它们,然后您拉入新的变更集。
因此,您有几个选择:
在任何情况下,我都会弄清楚为什么在存储库中已经有了多个头。是不是有人强行推了一下?这是故意的吗?
和get -它将使您的生活更轻松
https://stackoverflow.com/questions/4350726
复制相似问题