Does anyone know if there is a way to check if code from production hotfix branch is not newer than mainstream branch via diff tool of some sort? (hotfix1 vs thrunk)
\src
\thrunk
\releases
\hotfix1
I'm using vs2010 with TFS, but the branches have a lot of files, and all I came up with was comparing one file at a time, by re-specifying the target path of one of them.
Using the command line tool tf.exe
you can compare two revisions of arbitrary files, but both have to be in your workspace.
See online help on tf diff
for details (and here for specifying versions).
NB. In VS use Tools | Options | Source Control | Visual Studio Team Foundation Server | Configure User Tools to define what diff/merge application to use (a web search will find the right command line to use). Entering .*
for the file type will be used for everything without a more specific tool set.