0

I'm using TFS 2010 and am wondering whether there is an easy way, either through the IDE (or via the command line), to view the check-in history for a given user, filtered by time. Basically, I would like to see a list of all the changesets for a given user (or simply current user) and be able to specify a date range.

3

1 Answer 1

4

From the command prompt you can use 'tf hist' passing the user name and date interval as parameters.

tf hist path /user:username /version:D06/01/2012~D06/30/2012

More info about tf history can be found at http://msdn.microsoft.com/en-us/library/yxtbh4yh.aspx

More info about defining Version Specs can be found at http://msdn.microsoft.com/en-us/library/56f7w6be.aspx

The Version Spec is the part that defines the filter to be applied.

1
  • 1
    Alfred, thanks for leading me down the right path. The date format requires quotes and the /recursive switch was needed to get at what I wanted, the full code being as follows: tf hist $ /user:username /version:"D06/01/2012"~"D06/30/2012" /recursive /login:username,password /noprompt
    – Shanerk
    Jun 28, 2012 at 1:11

Not the answer you're looking for? Browse other questions tagged or ask your own question.