Using tools to compare and merge files and directories
With the HCL VersionVault Explorer you can compare or merge files and directories.
About this task
When you check in a modified resource, you may need to compare your changes with ones that another team member has made to the same resource and decide how to resolve any conflicts. Certain types of nonconflicting merges, called trivial merges, are handled automatically. For merges that require you to resolve a conflict, the HCL VersionVault Explorer includes tools that provide type-specific compare and merge capabilities for the following types of resources:
- Text files, including Java and other program source code
- Folders
- Microsoft Word files
- HTML files
- XML files
The available tools include external tools, based on programs that are included in the native VersionVault client, and internal tools, which include the VersionVault Integrated (UTF-8) tools and Eclipse tools. Directory comparisons are only performed by the VersionVault tools or the VersionVault Integrated (UTF-8) tools.
In the HCL VersionVault Explorer, they are invoked as needed by the Compare with Predecessor operation or the Compare with Another VersionVault Version operation, and also by Rebase Stream, Deliver from Stream, VersionVault Merge Manager, the Pending Changes view, and the VersionVault Version Tree. Merge tools can also be invoked when you perform a check-in that requires merging.
You can customize the settings for these tools using the Compare/Merge Preferences page (
).Procedure
- To merge files, start the Merge Manager or perform one of the actions discussed above: rebase, delivery, or check in. If a merge is required, you are prompted and the associated tools are invoked.
- To compare a resource with its predecessor:
-
To compare multiple versions of a resource, use the History view. (Note that only the VersionVault Integrated UTF-8 and VersionVault External compare providers support the selection
of more than two contributors.)