tfs 中的结帐问题 [英] Checkout issue in tfs

查看:25
本文介绍了tfs 中的结帐问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我添加了一个工作区(c:/users/aparna/workspace)并检查了那里的代码.由于映射问题,我更改了工作区,即我创建了一个新工作区 (d:/noscript).当我尝试从 tfs 将项目模块检出到这个新的 workpcae 时,它​​已经映射到旧工作区.当我打开新的工作区文件夹时,会看到 .metadata 和 remotesystemTempFiles.项目模块仍驻留在旧工作区中.当我通过选择新工作区打开 Eclipse 时,我得到所有项目模块都驻留在旧工作区中..这是什么原因?它会产生任何性能问题吗?

i have added a workspace(c:/users/aparna/workspace)and checked out the codes there. Due a mapping issue i changed the workspace, that is i created a new one (d:/noscript). When i tried to check out the project modules to this new workspcae from tfs, it is already mapped to the old workspace. When i open new workspace folde, .metadata and remotesystemTempFiles are seen. Projects modules still resides in old workspace. When i open eclipse by selecting new workspace, i got all project modules resides in old workspace.. what is the reason for this? Will it make any performance issue?

推荐答案

在 TFS 中,一个工作区不允许允许将同一个 TFS 文件夹映射到多个本地目录.

In TFS, one workspace does not allow the same TFS folder to be mapped to more than one local directory.

但是,一台计算机可以有两个或多个工作区,每个工作区可以将一个 TFS 文件夹映射到不同的本地文件夹.似乎您的项目模块已与旧工作区映射.

However, you can have two or more workspaces for one computer, and each workspace can map a TFS folder to a different local folder. Seems your project modules already mapped with the old workspace.

这不会导致任何性能问题.但是,每个工作区中文件的修订版本是单独跟踪的(要保持每个工作区的最新状态,您需要在每个工作区中执行 get) 一种简单的方法是从命令行使用 tf get.

This will not cause any performance issue. But what revisions of files are in each workspace is tracked separately (to keep each up to date you need to do a get in each) One easy way is using tf get from the command line.

如果您不想在两个工作区中分别跟踪文件,您可以删除所有项目模块与旧工作区的映射.选择旧的工作区,转到团队资源管理器-> 源代码控制 - 右键单击​​您之前拥有的文件夹/项目 - 选择删除映射

If you don't want to track files separately in two workspaces, you could remove the mapping with old workspace for all the project modules. Select the old worksapce, go to Team Explorer-> Source Control - Right click on folder/project you've got before - Select Remove Mapping

然后您可以重新映射并获取新工作区中的最新信息.

Then you could remap and get latest in the new workspace.

这篇关于tfs 中的结帐问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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