How do I find and view a TFS changeset by comment text?

后端 未结 11 1304
一整个雨季
一整个雨季 2020-12-04 05:55

With TFS I need to find a changeset by comment, and/or by developer. Maybe I\'m just blind today, but I don\'t see a simple way in the Source Control Explorer to do this ta

相关标签:
11条回答
  • 2020-12-04 06:44

    I was able to do this in the TFS web portal code section.

    Navigate to TFS in your browser, go to code, click on changesets, then advanced search. You can filter by user and date range. You can not search by comment, but if you have a general date range in mind then you can filter it down then use the browsers search (ctrl + f).

    0 讨论(0)
  • 2020-12-04 06:46

    You can use the command line client: pipe the output of tf history to a file and then use whatever search program you prefer.

    0 讨论(0)
  • 2020-12-04 06:47

    To see the checkins for a team member:

    In team explorer, navigate to the Team Project, navigate to Team Members, right click the team member for who you want to see the changesets, and select "Show CheckIn History".

    0 讨论(0)
  • 2020-12-04 06:48

    If you have TFS Power Tools installed, you can run this in a command prompt:

    tfpt searchcs
    

    to get a GUI window with options to search by committer and comment text. I'm using TFS Power Tools (March 2011 version) and TFS 2010.

    0 讨论(0)
  • 2020-12-04 06:48

    Alternatively, without having to install power tools, the following command will work if your looking for the search term findme.

    Windows: tf history "$/Team Project/Development" /noprompt /recursive | findstr findme

    Linux: tf history "$/Team Project/Development" /recursive | grep findme

    NB. Please thank this guy if you found this useful.

    0 讨论(0)
提交回复
热议问题