Compare Two Folders

Compare allows you to see the differences between two server folders, two local folders, or a server folder and a local folder. You can also use Compare to compare two files. For more information, see Compare Two Files.

Required Permissions

To perform these procedures, you must have the Read permission set to Allow. For more information, see Team Foundation Server Permissions.

Note

To compare two local folders, you do not need Team Foundation Server permissions.

To compare folders by using Folder Difference

  1. On the View menu, click Other Windows, and then click Source Control Explorer.

  2. In Source Control Explorer, locate the source folder you want to compare, right-click, and then select Compare.

    The Compare dialog box appears and the version control path of the folder that you selected is in the Source Path box.

  3. Under Source Version, select the Type you want to use for comparison: Changeset, Date, Label, Latest Version, or Workspace Version.

  4. Enter the Target Path or click Browse and locate the target folder.

  5. Under Filter, add or remove file and folder filters.

    For more information, see Folder Comparison Filters.

    Check the Filter local paths only box if you want to apply the filter only to local paths.

  6. Under View Options, select which items that you want shown in the comparison results. You can select a combination of view options by checking or clearing the following boxes:

    • Show items that exist only in source path.

    • Show items that exist only in target path.

    • Show items that are different.

    • Show items that are the same.

  7. Click OK.

    A Folder Difference window displays a list of items that are compared in the source and target folders. If there are differences between a server folder and your local folder, you can resolve them from the Folder Difference window. For more information, see Reconcile Differences Between Two Folders.

See Also

Tasks

Compare Two Files

Reconcile Differences Between Two Folders

Concepts

Folder Comparison Filters