gpt4 book ai didi

TFS 工作文件夹/取消映射 "Multiple workspaces exist with the name XYZ"

转载 作者:行者123 更新时间:2023-12-04 15:34:54 25 4
gpt4 key购买 nike

我试图了解如何解决以下情况。

我有一个包含三个集合的 TFS 2012 服务器,比如说;

- http://tfs2012:8080/tfs/DefaultCollection/
- http://tfs2012:8080/tfs/CollectionOne/
- http://tfs2012:8080/tfs/CollectionTwo/

在 CollectionOne 和 CollectionTwo 中,我有一个同名的工作区,我们称之为“TestWorkspace”。

当我在 CollectionOne 上为该工作区运行 map 命令时,它运行良好(可以获取、删除、更新等)。当我在使用完工作区后尝试取消映射工作区时出现问题(想想构建机器),以下调用失败。
tf.exe workfold /unmap /workspace:TestWorkspace E:\Temp

它失败了;
Multiple workspaces exist with the name TestWorkspace.
Please specify the Team Foundation Server or qualify the name with the owner.

因此,我尝试以下操作;
tf.exe workfold /unmap /workspace:TestWorkspace E:\Temp /collection:http://tfs2012:8080/tfs/CollectionOne/

以下情况失败;
The option collection is not allowed. 

指定工作空间的所有者也无济于事,因为它们归同一用户所有。

如何取消映射存在于两个或多个集合中的工作区?

最佳答案

关于TFS 工作文件夹/取消映射 "Multiple workspaces exist with the name XYZ",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18304968/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com