0

2 つのフォルダーを持つワークスペースがあります。1 つは自動解決されないファイルです。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!

My Workspace のマッピングは正しく表示されます。

D:\Project > tf workfold
===================================================================
Workspace : (...)
Collection: (...)http://vstfps:8080/tfs/protection
 $/Project: D:\Project

ローカル フォルダーを使用するようにスクリプトを変更することはできますが、それはほとんど望ましくありません。でサーバー パスを使用する方法はありますtf resolveか?

4

0 に答える 0