Setting up external compare tools
You can use an external compare tool as the default compare editor.
About this task
Engineering Workflow Management includes sample templates for several popular compare tools that you can use to automatically resolve conflicts. You can customize these templates for different environments. If a template does not exist for a compare tool, you can use the custom template to define one.
A compare tool must exit with appropriate return codes. A zero return code indicates a successful auto-resolve and a nonzero return code indicates that conflicts cannot be automatically resolved. The compare tool must also support three-way compare scenarios.
In the Eclipse and Visual Studio clients, you can view and configure the auto-resolve templates on the External Compare Tools preferences page. For the CLI client, set the external.merge scm property either by running &ldquoscm set pref external.merge value&rdquo or by editing the preferences.properties file.
You can run &ldquoscm list preferences -v&rdquo to display sample values for the external.merge property. Also, the preferences.properties file includes examples of external.merge settings for popular merge tools.
- Click .
- In the Preferences dialog box, go to .
On the External Compare Tools page, complete the following steps:
- Below Use an External Tool for Compare, select an option.
- In the External Compare Tool to Use field, select a compare editor.
Edit the 2-Way Compare and 3-Way Conflict Compare
Tip: If you click in an arguments field, content assist (Ctrl+Space) is available to describe the arguments.
- Optional: To use an external merge tool to automatically resolve conflicts during certain source control operations, such as accept and resume, below Use an External Tool for Auto-Resolve, select an option. Add arguments to the Auto-resolve Arguments field.
- Click Apply.