TFS: Find Files Affected Between Changesets

前端 未结 4 1803
余生分开走
余生分开走 2021-01-17 12:19

We are using Team Foundation Server 2012.

We had a guy submit 97 files (not counting the designer and resource files) in Changeset 13646 on 8/9/2016.

Ten (10

4条回答
  •  北荒
    北荒 (楼主)
    2021-01-17 12:36

    The below command will return the list of files modified, along with the check-in comments, and I think you should see the work items as well (but I havent tested that part) into a log file. Please update the collection url, branch name in the below command.

    tf history /collection:"tfsserverurl/collection" $/TFSbranchName /noprompt /recursive /format:detailed /v:C13646~C13716 > changeset.log
    

    Example:

    Changeset: 13646 User: LastName, FirstName Date: Thursday, February 16, 2017 4:26:50 PM

    Comment: Added values/code back missed from December branch code merge

    Items: edit $/TFSBranchName/abc.cs

    Check-in Notes: Code Reviewer: Performance Reviewer: Security Reviewer:

    If you copy all the "Items" from the log file (changeset.log) you should get all the files that were modified in those changsesets.

提交回复
热议问题