Having run a compare between a main branch folder and a given changeset in Source Control (Visual Studio TFS), and finding a number of differences, I would like to export the results to a spreadsheet so that it can be passed around and notes made etc...
Is there any way that I can export this list results from the Folder Difference screen?
Cheers
Nige
Compare two versions of a file already checked into Team Foundation Version Control: On the menu bar, select View > Other Windows > Source Control Explorer. In Source Control Explorer, right-click a file and select View History. Select two versions of the file, right-click and select Compare.
locate the required file in the Solution Explorer window, right-click it and choose Compare Selected File in the context menu; open the required file in Visual Studio, right-click the required document name in the document tab well and in the document's context menu select Compare Current File.
Open VS Code with the files you are going to compare. Right-Click one file you want to compare => Select for Compare.
Right-Click In the File List, right-click the file you want to check in and select Source Control > Check In (for selected files) or Source Control > Project > Check In All (for all files in the project). Local Toolbar In the File List, select the file(s) you want to check in.
A good solution is to copy and paste into Excel.
Start at the top, select all the items Ctrl+C and then Ctrl+V into Excel.
Not to take anything away from Joe's super cool answer, but I should point out this is also possible from the command line.
C:\Temp>tf folderdiff /?
TF - Team Foundation Version Control Tool
Copyright (c) Microsoft Corporation. All rights reserved.
Displays a visual representation of the differences between files in two server
folders, in a server folder and a local folder, or in two local folders.
tf folderdiff [sourcePath] targetPath [/recursive] [/noprompt]
[/server:serverName:port] [/filter:filter]
[/filterLocalPathsOnly]
[/view:same,different,sourceOnly,targetOnly]
Pass /noprompt (aka /i) to print a textual display to the console or redirect it to a file. E.g.:
tf folderdiff . /r /i > diffs.txt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With