我可以“自动协调”吗?在封闭的 TFS 2010 签入中?
我正在设置一个项目以在已配置的服务器上使用 TFS,并且我选择使用门控签入策略。完成此操作后,我在签入代码时将执行以下步骤:
- 执行签入。
- 选择“在本地保留我的待处理更改”。
- 单击“构建更改”。
- 等待构建继续并最终成功。
- 单击另一个选项卡或在 Visual Studio 中执行某些操作。
- 在任务栏中看到一条消息要求我“协调”或“忽略”已弹出,但位于 Visual Studio 后面(大多数情况下,直到我开始离开“构建资源管理器”,无论多久,此消息都不会出现)我等待)
首先,事实上,直到我与 Visual Studio 交互之后才会发生这种情况,然后它向我隐藏了消息,这很奇怪,也有点烦人,但一次只有一个问题。更重要的是,我想知道是否可以以某种方式告诉 TFS/Visual Studio 我总是想要协调。我正在寻找的内容相当于这个消息框有一个复选框,上面写着“记住我的选择”,然后我检查它。在我看来,我总是希望与我的本地存储库协调搁置和现在签入的更改,因此我不想费力地提出此消息并回答它。
这可能吗?如果这是可能的,出于某种原因这是一个坏主意吗? (我对此很陌生,所以请告诉我是否有充分的理由让我每次都必须选择)
I'm setting up a project to use TFS on a server that I've configured, and I've opted to use a gated checkin policy. With this in place, I have the following sequence of steps when I check in code:
- Perform a checkin.
- Opt to "preserve my pending changes locally".
- Click "Build Changes".
- Wait while the build goes on and eventually succeeds.
- Click to another tab or do something in Visual Studio.
- See in the taskbar that a message asking me to "Reconcile" or "Ignore" has popped up, but behind Visual Studio (most of the time, this message never comes up until I start navigating away from the Build Explorer, no matter how long I wait)
First off, the fact that this doesn't happen until I interact with Visual Studio and then it hides the message from me is weird and kind of annoying, but one problem at a time. More importantly, what I'm wondering is whether I can somehow tell TFS/Visual Studio that I always want to reconcile. What I'm looking for would be the equivalent of this message box having a checkbox that says "remember my choice", and me checking it. As I see it, I always want to reconcile the shelved and now checked in changes with my local repository, so I'd prefer not to have to hassle with bringing up this message and answering it.
Is this possible? If it is somehow possible, is it a bad idea for some reason? (I'm new to this, so please tell me if there's a good reason for me to have to pick every time)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,我已经花了几个月的时间了,但没有提供任何解决方案,所以我将发布我发现的内容。我无法通过“自动协调”来抑制该消息,但作为我的流程的一部分,我确实看到了消息中的一些价值。
我遇到了一些不愉快的情况,我进行了门控签入,看到复选框变成绿色,然后迅速去签入另一项更改。第一个尚未达成一致,这使工作陷入困境。
所以,现在这个信息对我来说的价值在于它说“好吧,现在真的可以重新开始做事情了”。我现在已经习惯了这条消息,所以在这一点上,我可能宁愿继续看到它并完成签入验证,而不是弄清楚如何抑制它。
Well, I've given this a couple of months and no solution has been offered, so I'll post what I did find. I wasn't able to suppress the message via "auto-reconcile", but I did come to see some value in the message as part of my process.
I ran into some unpleasantness where I did a gated-checkin, saw the checkbox go green, and then subsequently went to check in another change quickly. The first one wasn't reconciled yet, and this gummed up the works.
So, the value of the message to me now is that it says "alright, now it's really okay to start doing stuff again". I'm used to the message now, so at this point, I'd probably rather keeping seeing it and have that validation of the checkin being done than figure out how to suppress it.