Tfs 特定文件夹中的tf.exe folderdiff diffing文件

Tfs 特定文件夹中的tf.exe folderdiff diffing文件,tfs,tf-cli,Tfs,Tf Cli,我希望能够区分名为MessagingService的文件夹中驻留的所有app.config文件。我现在已经阅读了tf.exe上的文档大约50次,但我不明白语法应该与以下不同: tf.exe treediff $/myproject/main $/myproject/prod /filter:"app.config;MessagingService\" /r 但这没有结果。据我所知,文件夹包含掩码的行为与预期不符,因为以下行工作正常: tf.exe treediff $/myproject/ma

我希望能够区分名为MessagingService的文件夹中驻留的所有app.config文件。我现在已经阅读了tf.exe上的文档大约50次,但我不明白语法应该与以下不同:

tf.exe treediff $/myproject/main $/myproject/prod /filter:"app.config;MessagingService\" /r
但这没有结果。据我所知,文件夹包含掩码的行为与预期不符,因为以下行工作正常:

tf.exe treediff $/myproject/main $/myproject/prod /filter:"app.config;!MessagingService\" /r
当然,它只显示我不感兴趣的app.configs:)

任何有启发性的评论都将不胜感激。

试试这一条

tf.exe treediff$/myproject/main$/myproject/prod/filter:“app.config;*MessagingService*\”/r

我相信在MessagingService word前后都需要星号,因为“app.config”是整个文件名,但MessagingService word不是整个路径值,它只是实际文件路径的一部分。

试试这个

tf.exe treediff$/myproject/main$/myproject/prod/filter:“app.config;*MessagingService*\”/r


我相信在MessagingService word前后都需要星号,因为“app.config”是整个文件名,但MessagingService word不是整个路径值,它只是实际文件路径的一部分。

谢谢,但在我的情况下似乎不起作用。当我使用
/filter:“app.config”
时,我得到了很多差异,例如
$/myproject/Main/Accounting/MessagingService/app.config-$/myproject/prod/Accounting/MessagingService/app.config
,但是当按照您的建议添加带有通配符的文件夹时,我没有得到任何差异。谢谢,但在我的情况下它似乎不起作用。当我使用
/filter:“app.config”
时,我会得到很多差异,例如
$/myproject/Main/Accounting/MessagingService/app.config-$/myproject/prod/Accounting/MessagingService/app.config
,但当按照您的建议添加带有通配符的文件夹时,我一个都没有。