Skip to main content
13-Aquamarine
February 2, 2018
Question

Set preferred Diff command and Merge command with CLI

  • February 2, 2018
  • 1 reply
  • 1298 views

Hello,

 

I am using Integrity 10.8.0.8356.

 

Under File->Preferences->Configuration Management -> Diff and Merge Tools

the user can set the  preferred Diff command and Merge command.

 

For example in the configuration file below

"C:\Users\MateiA\AppData\Roaming\Integrity\10.8\IntegrityClient.rc"

 

I see the following values:

 

vdiffCommand=compare.exe /title1\:"{1}" /title2\:"{2}" "{3}" "{4}"
mergeCommand=compare.exe /wait /title1\:"Merge From\:{1}" /title2\:"Merge Base\:{0}" /title3\:"Merge To\:{2}" /3 "{5}" "{4}" "{6}" "{8}"

 

I am interested to set these two values via CLI

 

I don't know how to use setprefs --save --command=??? --ui=gui someKey=someValue

 

Many thanks !

 

1 reply

5-Regular Member
February 6, 2018

Unfortunately, there is no way to set the Diff or Merge command from the CLI.  One can only set this in the GUI preferences or by directly editing the IntegrityClientSite.rc file.

This would be a good Idea.