Using equal in the arguments -s=%1 -d=%2
will prevent the interpretation of %1
and %2
as file paths, hence your weird error. semanticmergetool
also accepts arguments with space: -s "$LOCAL" -d "$REMOTE"
and positional arguments: "$LOCAL" "$REMOTE"
, so you can set for instance:
Preferences > Diff > Default diff application: Other application
Location: .../semanticmerge/semanticmergetool.exe
Arguments: %1 %2
To set semanticmerge
as merge tool, use Arguments: %1 %2 %b %r
Reference:
https://users.semanticmerge.com/documentation/how-to-configure/semanticmerge-configuration-guide.shtml#HowtoconfigurewithPerforce