Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Merges Command

Displays detailed information about past merges between the specified source and destination branches.


tf merges [/server:servername] [source] destination [/recursive]

Parameters

Argument Description

servername

The user-provided value for the /server option. Example: teamfoundation2.

source

The merge history should be filtered to include only entries with the specified source.

This parameter is optional.

destination

Specifies the destination branch for which merge history is displayed.

This parameter is required.

Option Description

/server

Identifies the Team Foundation Server. This option is required if the command is invoked from a directory that is not mapped to a workspace.

/recursive

Displays information for all merges in specified Team Foundation source control server folder and its subfolders.

For links to other Team Foundation commands that provide additional information about the items in your Team Foundation source control server and all the workspaces that map to it, see Informational Commands.

The following example displays information about all merge operations performed between Beta1_branch and RTM_branch.

c:\projects>tf merges /recursive Beta1_branch RTM_branch
  • Sample output:

    Chgset     Merged In Chgset       Author     Date
    --------------------------------------------------------
    135         162                   Justin     10/31/2003
    146         162                   Justin      10/31/2003
    147*        167                   Bill       11/02/2003
    

    The asterisk ‘*’ next to changeset 147 indicates that only some of the changes in that changeset #147 were merged into changeset #167.

To use the merges command, you must have the Read permission set to Allow for both source and destination branches. For more information, see Team Foundation Server Permissions.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft