다음을 통해 공유


How to: List Changesets Between Two Labeled Versions?

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

Comments