Configuration of the TcProjectCompare for use with source control
The configuration of the TcProjectCompare can be generated from the software for use with some of the most frequently used source control clients. At the moment, these are the following clients:
- Microsoft Team Foundation Server
- Git
- AnkhSVN
Generating the configuration of these clients
To generate the settings for one of the source control clients listed above, proceed as follows:
- 1. Open TcProjectCompare.
- 2. Select the menu Tools -> Configure User Tools....
- 3. Click on Export Configuration.
- 4. In the following dialog, select the source control client for which the settings are to be generated from the selection box.
- 5. In case Git is the source control client, you can select in the following dialog whether you want the settings for the selection of the Compare Tool used to be saved globally or for the specific project. If you save them for the specific project, select the .gitconfig file from your local repository. Then confirm your selection with OK.
- The configuration has been created.
Configuring other source control clients:
If you use a source control client that is not listed above, you must configure the use of the TcProjectCompare in the respective source control client. To do this, use the transfer parameters listed in the section Transfer parameters of the TcProjectCompare.
Dealing with non-TwinCAT flies
Some clients only allow a general compare/merge tool for all file extensions. For this reason the TwinCAT Project Compare tool offers the option to define further compare tools for special file extensions.
Setting an external compare tool for file extensions:
- 1. Open the TcProjectCompare.
- 2. Select the menu Tools -> Configure User Tools....
- 3. Click on Add.
- 4. In the following dialog describe which file extension is used, which tool is to be called (Command line) and which transfer parameters are required for compare or merge. Confirm the settings with OK.