Skip to main content
1-Visitor
December 10, 2015
Solved

What return values are expected of a Diff/Merge Third Party Tool?

  • December 10, 2015
  • 1 reply
  • 3934 views

We are using MKS Integrity 2007 and I'm trying to implement Beyond Compare 4 as a Diff/Merge tool.

Calling the program works fine with the tutorial over here: Beyond Compare Technical Support

The only problem is that, after merging, MKS tells me that "The merge status from the third party tool is unknown".

The return values of Beyond Compare seem rather obvious and sensible - 0 for successful merge.

What does MKS expect as a return value here, so the merge is automatically considered successful? Is there a list of return values and what MKS interprets them as?

    Best answer by KaelLizak

    I haven't tried it out (I don't have BC4), but I suspect it won't work, based mainly on some internet searches.  It wouldn't be that difficult to try, though.

    Source Integrity diff return codes are here under Diagnostics.  BC4 return codes are here under Return codes.

    I'm curious to learn what you find.

    1 reply

    16-Pearl
    December 16, 2015

    Hello Florian Peschka‌,

    Currently, Source Integrity doesn't support Beyond Compare v4.  Please contact PTC Integrity Lifecycle Management Support to register your organization with enhancement RFC 997067/CS186778‌.

    Regards,
    Kael

    fpeschka1-VisitorAuthor
    1-Visitor
    December 17, 2015

    Thanks for the reply. Unfortunately I am not in a position to decide such things, but I will pass it along.

    In the meantime... would it not work to create a batch file that maps Beyond Compare return codes to the ones that Source Integrity expects?

    If I knew the codes I need to return, this seems like a minor problem to work out, but I cannot find the list of what return codes Source Integrity expects from the third party tool.

    KaelLizak16-PearlAnswer
    16-Pearl
    December 17, 2015

    I haven't tried it out (I don't have BC4), but I suspect it won't work, based mainly on some internet searches.  It wouldn't be that difficult to try, though.

    Source Integrity diff return codes are here under Diagnostics.  BC4 return codes are here under Return codes.

    I'm curious to learn what you find.