我有一个包含 2 个文件夹的工作区 - 一个包含不会自动解析的文件。我只想tf resolve
在另一个文件夹上运行。但是,它只能使用本地项目规格,而不是服务器:
D:\Project > tf resolve /noprompt /auto:AutoMerge /recursive
D:\Project\BadFolder\UnresolvableFile.xml: The source and target both have changes.
D:\Project\BadFolder\UnresolvableFile.xml: 1964 local, 1263 server, 0 both, and 346 conflicting
<<<<<<<<<<<< Expected behavior
D:\Project > tf resolve /noprompt /auto:AutoMerge /recursive D:\Project\GoodFolder
There are no conflicts to resolve. <<<<<<<<<<<< This is the behavior I want
D:\Project > tf resolve /noprompt /auto:AutoMerge /recursive $/Project/GoodFolder
D:\Project\BadFolder\UnresolvableFile.xml: The source and target both have changes.
D:\Project\BadFolder\UnresolvableFile.xml: 1964 local, 1263 server, 0 both, and 346 conflicting
<<<<<<<<<<<< WTH, it's exactly the same like above!
我的工作区映射显示正确:
D:\Project > tf workfold
===================================================================
Workspace : (...)
Collection: (...)http://vstfps:8080/tfs/protection
$/Project: D:\Project
我可以更改我的脚本以使用本地文件夹,但这几乎是不可取的。有没有办法使用服务器路径tf resolve
?