Version numbers in Diff using Beyond Compare

Support for our DiffMerge utility.

Moderator: SourceGear

Post Reply
wkrzystek
Posts: 33
Joined: Mon May 15, 2006 11:25 am

Version numbers in Diff using Beyond Compare

Post by wkrzystek » Fri Dec 10, 2010 10:14 am

I've been using the SGDM tool for awhile as I like how it shows that you are comparing Version 32 with Version 33. I get weird errors in displaying character sets when trying to compare PDF's or other more binary-like files. When I switch to use BeyondCompare 3 for the diff display, I fix all of the character set issues but I loose the ability to see what version numbers I'm comparing. All I see is the path to the repository cache for each file (see screen shot attachment). Is there anything that needs to be done to get this working with BeyondCompare?

BeyondCompare:
12-10-2010 11-06-43 AM.png
screenshot
12-10-2010 11-06-43 AM.png (10.67 KiB) Viewed 9005 times
SGDM:
12-10-2010 11-13-45 AM.png
sgdm
12-10-2010 11-13-45 AM.png (38.21 KiB) Viewed 9005 times

wkrzystek
Posts: 33
Joined: Mon May 15, 2006 11:25 am

Re: Version numbers in Diff using Beyond Compare

Post by wkrzystek » Fri Dec 10, 2010 10:23 am

Doh. I posted the question before testing enough. There is a slight difference between the command line parameters of BeyondCompare and SGDM. Sgdm uses a : for the title parameter and BeyondCompare uses an =. This fixed the problem. Maybe this will help someone else down the road at least.

In SGDM:

Code: Select all

/ro1 /ro2 /title1:"%LEFT_LABEL%" /title2:"%RIGHT_LABEL%"  "%LEFT_PATH%" "%RIGHT_PATH%"
In BeyondCompare:

Code: Select all

/ro1 /ro2 /title1="%LEFT_LABEL%" /title2="%RIGHT_LABEL%"  "%LEFT_PATH%" "%RIGHT_PATH%"
New Beyond compare with proper title syntax:
12-10-2010 11-22-59 AM.png
fixed bc3
12-10-2010 11-22-59 AM.png (45.87 KiB) Viewed 9004 times

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Version numbers in Diff using Beyond Compare

Post by lbauer » Fri Dec 10, 2010 11:11 am

Thanks for the update. Are you using Beyond Compare with Vault?
Linda Bauer
SourceGear
Technical Support Manager

wkrzystek
Posts: 33
Joined: Mon May 15, 2006 11:25 am

Re: Version numbers in Diff using Beyond Compare

Post by wkrzystek » Fri Dec 10, 2010 11:20 am

No - we really haven't found the need to do this yet.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Version numbers in Diff using Beyond Compare

Post by lbauer » Fri Dec 10, 2010 1:51 pm

Since this doesn't involve Vault, I've moved it to the DiffMerge forum.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply