Skip to main content
1-Visitor
Dec 10, 2015 8:15 AM UTC
Solved

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

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?

    KaelLizakAnswer
    16-Pearl
    Dec 17, 2015 3:09 PM UTC

    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.

    5 replies

    16-Pearl
    Dec 16, 2015 8:13 PM UTC

    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

    Translate
    fpeschka1-VisitorAuthor
    1-Visitor
    Dec 17, 2015 10:30 AM UTC

    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.

    Translate
    KaelLizak16-PearlAnswer
    16-Pearl
    Dec 17, 2015 3:09 PM UTC

    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.

    Translate