How to: List Changesets Between Two Labeled Versions?

How to: List Changesets Between Two Labeled Versions?

  • Comments 2

You can achieve that behavior by running:

tf hist rootItemSpec /r /version:LstartLabel~LendLabel

Here’s my scenario:

tf hist /i File.cs

Changeset Change                     User          Date       Comment

--------- -------------------------- ------------- ---------- --------

65        edit                       mohamedg      4/2/2009

63        edit                       mohamedg      4/2/2009

60        edit                       mohamedg      4/2/2009

59        edit                       mohamedg      4/2/2009

50        edit                       mohamedg      4/1/2009

49        edit                       mohamedg      4/1/2009

48        edit                       mohamedg      3/31/2009

47        add                       mohamedg      3/31/2009

tf label Rev1 File.cs;48

Created label Rev1@$/Proj

tf label Rev2 File.cs;63

Created label Rev2@$/Proj

tf hist /i File.cs /version:LRev1~LRev2

Changeset Change                     User          Date       Comment

--------- -------------------------- ------------- ---------- --------------------------------

63        edit                       mohamedg      4/2/2009

60        edit                       mohamedg      4/2/2009

59        edit                       mohamedg      4/2/2009

50        edit                       mohamedg      4/1/2009

49        edit                       mohamedg      4/1/2009

Leave a Comment
  • Please add 1 and 3 and type the answer here:
  • Post
Page 1 of 1 (2 items)