【发布时间】:2013-04-19 10:35:32
【问题描述】:
我重命名了我的计算机名称,现在我的 TFS 工作区在 Visual Studio 2012 中损坏了。
当我输入时:
tf workspaces /computer:ABOTONJIC-PC /owner:* /format:detailed
Workspace : ABOTONJIC-PC
Owner : wrongowner@test.com
Computer : ABOTONJIC-PC
Comment :
Collection : netuse.visualstudio.com\DefaultCollection
Permissions: Private
Location : Local
File Time : Current
但我需要:
Owner : realowner@test.com
Computer : NEW-PC
那我试试:
tf workspaces /updateComputerName:ABOTONJIC-PC /collection:netuse.visualstudio.com/DefaultCollection
No workspace matching *;wrongowner@test.com on computer NEW-PC found in Team Foundation Server netuse.visualstudio.com/DefaultCollection.
所以我的问题是:
- 如何更新工作区中的计算机名称?
- 为什么 TFS 仍然在工作区显示“wrongowner@test.com”,尽管有新的电子邮件注册为“realowner@test.com”?
【问题讨论】:
标签: visual-studio-2012 tfs workspace tf-cli