7

Using the TFS APIs it is trivial to loop through changes in a changeset and then get the files using the ServerItem and ChangesetId.

But suppose I want to diff the modified files, how can I get the VersionSpec for the previous versions?

The trick of subtracting one from the ChangesetId seems to break if the file was renamed or branched?

Bjorn Reppen
  • 22,007
  • 9
  • 64
  • 88

0 Answers0