签到前 TFS 自动签出 [英] TFS auto-checkout before checkin

查看:29
本文介绍了签到前 TFS 自动签出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否存在签入前 TFS 自动签出"这样的功能,以便在我说签入"之前我不会签出任何文件,例如以防我只是临时更改文件 - 这种情况一直发生.

Does a feature like "TFS auto-checkout before checkin" exist, so that I don't checkout any file until the moment I say "checkin", e.g. in case I only change files temporarily - which happens all the time.

换句话说,客户端我想像使用 subversion 一样工作,而不管 TFS 服务器可能会怎么想.这一定是可能的,我只是想知道它是否容易设置.

In other words, client-side I want to work as if using subversion, regardless of what the TFS server might think. This must be possible, I just wonder if it is easy to setup.

换句话说,除非我说签入",否则其他用户不应该(能够)打扰我正在编辑的文件.

In yet other words, until and unless I say 'checkin', other users shouldn't (be able to) bother what files I'm editing.

推荐答案

您可以告诉 Visual Studio 不要签出编辑,转到工具、选项、源代码控制、环境.然后选择您想要的行为.如果您选择编辑为什么都不做"并保存为提示结帐",它应该非常接近您想要的效果.

You can tell Visual studio not to check out on edit, go to tools, options, source control, environment. Then select the behaviour you want. If you choose editing to "do nothing" and saving to "prompt for checkout" it should be pretty close to what you want.

您还可以查看 svnBridge,它允许您将 TortoiseSVN 与 TFS 结合使用.我认为 svnBridge 的目的是让习惯 SVN 的开发人员可以使用 TFS 而不必改变他们的工作方式,所以它应该满足您的需求.

You could also look at svnBridge which allows you to use TortoiseSVN with TFS. I assume that the point of svnBridge is to allow developers used to SVN to use TFS without having to change the way they work, so it should meet your needs.

这两者的结合应该会让你接近.

A combination of both of these should get you close.

这篇关于签到前 TFS 自动签出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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