我可以修改 TFS 2012 中的默认签入操作吗? [英] Can I modify the default Check-in Action in TFS 2012?

查看:17
本文介绍了我可以修改 TFS 2012 中的默认签入操作吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 TFS 2012 中默认将变更集与工作项相关联以将其关联.

尝试 HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\**11.0**\TeamFoundation\SourceControl\Behavior @ResolveAsDefaultCheckinAction = "False" 对状态"为 " 的任务没有用活跃".当状态为New"、Proposed"等时就可以了...您是否有任何想法为所有州执行此操作?

解决方案

说来话长,可行的解决方法如下:

<块引用>

在此处查看此链接

I want to associate a changeset with a workitem as default to associating it in TFS 2012.

Trying HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\**11.0**\TeamFoundation\SourceControl\Behavior @ResolveAsDefaultCheckinAction = "False" is not useful for tasks which "State" is "Active". It is ok when the state is "New", "Proposed" etc... Do you have any idea to do this for all states?

解决方案

It's a long story, The workaround that will work will be as the following:

Checkout this link here http://msdn.microsoft.com/en-us/library/ms194965(v=vs.110).aspx

Basically whats it is saying on a given work item type there is an action on work item transitions called "Microsoft.VSTS.Actions.Checkin". When you checkin code the source control system looks at the current state of the workitem your associating with the checkin. If any tranition from this state has a checkin action associated then it will move to that given state as the default action.

The solution is to remove this action - this is then for all users of TFS

Copied (Gary Howlett), for the full thread click on the following link:

http://msdn.microsoft.com/en-us/library/ms194965(v=vs.110).aspx

这篇关于我可以修改 TFS 2012 中的默认签入操作吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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