StarTeam Merge Integration

Support for our DiffMerge utility.

Moderator: SourceGear

Posts: 1
Joined: Thu Sep 13, 2007 2:34 pm
PostPosted: Thu Sep 13, 2007 2:40 pm
Does anyone know the correct command line to integrate DiffMerge with StarTeam?

StarTeam allows launching of a merge utility, and you can pass a command line with the following substitution parameters:

$branchtip - branch tip revision
$usertip - local user file
$basefile - common ancestor of $branchtip and $usertip
$resultfile - the merged file

Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Thu Sep 13, 2007 4:03 pm
In our Diff Merge documentation, if you look for the command line documentation in the Windows help file, it will list the parameters there.

Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
PostPosted: Fri Sep 14, 2007 9:39 am
I've not used StarTeam, but based upon your post, I'll suggest that you try this:

/r=$resultfile /m $usertip $basefile $branchtip

If I understand their meaning, this will put your local user file in the left panel, the common ancestor in the center (for merging into), and the branch tip in the right panel. the merge result will be written to the result file.

the /m tells DiffMerge to run auto-merge immediately after starting up.

If you want, you can also prepend the following to the command line:

/t1="user local file" /t2="common ancestor" /t3="branch tip"

this will put descriptive labels above each file panel instead of whatever (presumably) temp file names it uses.

Hope this helps. Let me know if this works for you or if you have any other questions or problems.


Return to Support (DiffMerge)

Who is online

Users browsing this forum: No registered users and 1 guest