TFS 获取特定版本到单独的文件夹 [英] TFS Get Specific Version into separate folder

查看:33
本文介绍了TFS 获取特定版本到单独的文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在处理一个带有 TFS 源代码控制的项目.我们刚刚收到了一个旧版本代码的错误报告,我需要拉下那个版本的代码来测试它.我的第一个想法是获取特定版本"以下拉代码,但我不想将该版本放入我当前的工作区目录中.

I'm currently working on a project with TFS source control. We've just gotten in a bug report for an older version of the code, and I need to pull down that version of code to test it out. My first thought would be to "Get Specific Version" to pull down the code, but I'd rather not get that version into my current workspace directory.

是否有一种简单的方法可以将获取特定版本"放入单独的(例如临时/丢弃文件夹)中,以便我可以快速查看旧版本代码中的此错误,而不会打扰我当前的工作?

Is there an easy way to "Get Specific Version" into a separate (e.g. temporary/throw-away folder), so I can quickly look into this bug in the older version of code, and not disturb my current work?

推荐答案

我刚刚找到了一种简单的方法来做到这一点:在 TFS 中创建一个指向单独文件夹的新工作区,然后切换到这个新工作区并执行获取特定"版本在这里.

I just found one easy way to do this: Create a new Workspace in TFS pointing to a separate folder, then switchover to this new workspace and do a Get Specific Version here.

现在说得通,我只是从未尝试过.

Makes sense now, I just hadn't ever tried that.

这篇关于TFS 获取特定版本到单独的文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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