简体   繁体   English

Bitbucket,Mercurial-解决同步fork时的合并冲突

[英]Bitbucket, Mercurial - resolving merge conflicts when syncing a fork

master (read-only)
  |--- myFork (write)
  |--- otherFork01 (read-only)
  |--- otherFork02 (read-only)
  .
  .
  .

I've used Mercurial as a VCS (had to), committing to myFork . 我已经将Mercurial用作VCS(必须),并提交到myFork Now Bitbucket is letting me know that I'm a couple commits behind master - which up to now, was not an issue to resolve. 现在,Bitbucket让我知道我是master背后的一对夫妇-到目前为止,这不是要解决的问题。

This time, however, I'm getting merge conflicts when hitting the sync-button. 但是,这次,当我按下“同步”按钮时,出现合并冲突。 Unfortunately, Bitbucket does not seem to provide a way to resolve the conflict right there in its interface. 不幸的是,Bitbucket似乎没有提供解决界面中冲突的方法。

Instead, it's providing more information about how to resolve conflicts if I were using Git - which is not particularly helpful in this case. 相反,它提供了有关如果我使用Git时如何解决冲突的更多信息-在这种情况下这不是特别有用。

As due to the conflicts, the merge is never performed, I can't simply pull the conflict from bitbucket to resolve it either. 由于存在冲突,因此从不执行合并,因此我也不能简单地从bitbucket中拉出冲突来解决它。

I'm using TortoiseHG and created the fork through the Bitbucket interface. 我正在使用TortoiseHG,并通过Bitbucket接口创建了fork。

I would appreciate it if somebody could help me resolve this issue. 如果有人可以帮助我解决此问题,我将不胜感激。

Turns out that if you keep hitting "merge" and then "show details" in the resulting error message, you will eventually get to a detail page where hitting merge again will display you the necessary code to execute. 事实证明,如果在出现的错误消息中始终单击“合并”,然后单击“显示详细信息”,则最终您将进入一个详细信息页面,再次单击合并将显示要执行的必要代码。

Not sure why they would hit it thus, though. 不过,不确定为什么会这样。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM