如何调试“拉取请求不能自动合并。”在TFS中? [英] How to debug "Pull request cannot be automatically merged." in TFS?

查看:522
本文介绍了如何调试“拉取请求不能自动合并。”在TFS中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用TFS 2017(15.117.26714.0)和git。
当我们尝试提出pull请求时,TFS会说Pull请求不能自动合并。。

我只是想弄清楚发生了什么但我没有找到任何消息,为什么拉请求不能自动合并。



你知道如何调试拉请求不能自动合并。吗?
是否有隐藏的选项或链接到可以帮助我的日志?

更新



您可以在Web服务器的专用页面上的拉取请求期间找到有关应该执行合并的作业的小报告。你可以在 http://my.tfs.server:8080/tfs/_oi < a>或 https://my.tfs.server/_oi ,然后搜索名为 Git Native MergeJob 。您必须具有管理权才能访问它。



这为作业提供了一个结果消息,如果作业失败,该消息可能是一个调用堆栈的异常。



但是,在我的具体情况中,作业成功执行,结果消息是成功尝试合并。拉请求仍然是拉请求不能自动合并



所以,我需要深入挖掘并找到日志(如果存在的话)。
任何人都知道我在哪里可以找到它?

解决方案

您可以找到一份关于应该做的工作的小报告在Web服务器的专用页面上的拉取请求期间执行合并。您可以在 http://my.tfs.server:8080 / tfs / _oi https://my.tfs.server/中找到它_oi 然后搜索名为 Git Native MergeJob 的作业。您必须具有管理权限才能访问它。



根据问题所在,您可能会遇到异常情况和调用堆栈,可以帮助理解为什么请求无法自动合并。

大多数情况下,您会发现文件太大而无法通过TFS处理,请参阅 github上的这个问题


We use TFS 2017 (15.117.26714.0) with git. When we try to make a pull request, TFS says "Pull request cannot be automatically merged.".

I'm just trying to figure out what's happening but I didn't find any message on why the pull request cannot be automatically merged.

Do you know how to debug "Pull request cannot be automatically merged."? Is there a hidden option or a link to a log that can help me?

Update

You can find a little report about the job that is supposed to execute the merge during the pull request on a dedicated page of the web server. You can find it in http://my.tfs.server:8080/tfs/_oi or https://my.tfs.server/_oi then search for a job named Git Native MergeJob. You must have administrative rights to access it.

This provides a result message for that job which can be an exception with a callstack if the job has failed.

However, in my specific case, the job is executed successfully and the result message is Successfully tried merging. while the message from the pull request is still Pull request cannot be automatically merged.

So, I need to dig deeper and find a log (if it exists!) of that specific job. Anyone knows where I can find it?

解决方案

You can find a little report about the job that is supposed to execute the merge during the pull request on a dedicated page of the web server. You can find it in http://my.tfs.server:8080/tfs/_oi or https://my.tfs.server/_oi then search for a job named Git Native MergeJob. You must have administrative rights to access it.

Depending on what the issue is, you may have the exception and a callstack that can help understand why "Pull request cannot be automatically merged".

Most of the time, you'll find that a file is "too big" to be handled by TFS, see this issue on github.

这篇关于如何调试“拉取请求不能自动合并。”在TFS中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆