Problem comparing text files???

Support for our DiffMerge utility.

Moderator: SourceGear

Post Reply
Akilles
Posts: 1
Joined: Fri Nov 21, 2008 8:48 am

Problem comparing text files???

Post by Akilles » Fri Nov 21, 2008 9:08 am

Hi,

I added an external diff tool (ultracompare proffesional) to my diffmerge tool.
in optios have i path to my external tool and command line arguments "%LEFT_PATH%" "%RIGHT_PATH%"
the problem seems to be in the "LEFT PATH" because that I keep geting wrong file. file that I should get is on the server but I'm geting one that is on my computer, completly the wrong file, not even the name is matching.

Any Ideas

thanks in advance!

jeffhostetler
Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
Contact:

Re: Problem comparing text files???

Post by jeffhostetler » Fri Nov 21, 2008 10:31 am

I'm not sure I completely understand the problem, but let me explain
a little about how things work and see if that helps.

When doing a File-Diff, DiffMerge is given a pair pathnames on the
command line. These pathnames come from Vault/Fortress. Sometimes
they are permanent files in your project and sometimes they are temporary
files (such as historical versions).

You can see the args as DiffMerge received them by turning off the
external tools and having Vault/Fortress re-launch DiffMerge and look
at the Support Dialog (inside the About Box).

With the external tool feature enabled, these pathnames will be substituted
into the command line for the external tool.

DiffMerge doesn't have access to the Vault/Fortress server and only knows
about the permanent/temporary pathnames it is given. So, if you're seeing
the wrong version in Ultracompare, I'm wondering if something else is going on.

Could you try turning off the External Tool feature in DiffMerge (and exit
DiffMerge) and then have Vault/Fortress re-try the diff and see if DiffMerge
shows you the correct version of the files?

Then when that is OK, try turning it back on and see if things are working
correctly.


jeff

Post Reply