سؤال

I am running the TF Diff command to get differences between two branches. I run the following command: tf difference $/myVersionControl/Branch1 $/myVersionControl/Branch2 -recursive The only differences that show up are the ones in the working directory and only the top level directory. its almost like it does not recursively look inside. What am I doing wrong here? I can get a list of all the diffs if I do it from Team Explorer just fine. I am assuming Team Explorer is using TF Diff under the covers but I could be wrong. I am using TFS 2008. If there is a powershell equivalent - that would be perfect because i want to pipe the output and have a few more things to do with these changes.

enter image description here

هل كانت مفيدة؟

المحلول

tf folderdiff $/Branch1/ $/Branch2/ -recursive > output.txt

To use the difference command, you must have the Read permission for all specified items set to Allow.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top