Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Custom diff tool: finding the $REMOTE$ file

I posted last week about my issues trying to call Beyond Compare as a diff tool with Visual FoxPro's binary files. (

Elsewhere, someone suggested I could write a custom EXE to use as the Diff tool and make it an intermediary that would grab the parameters coming from Sourcetree and do what's necessary to pass Beyond Compare the right parameters to make this work.

I've been working on this, but just realized I have a major issue. When comparing an uncommitted file to the most recent commit, the $LOCAL$ parameter passes a fully-pathed filename in the Temp folder (which appears to be the committed file); perfect for my needs. The $REMOTE$ parameter, however, gives me a relative path in my development folders (for example, CLASSLIBS\MyClassLib.VCX).

Is there a way for my tool to know the full path for that file? Obviously, if I want to use this with only one repository, I can hard-code it, but I'm trying to write a tool I can use across all my projects.

1 answer

1 accepted

0 votes
Answer accepted

I've found a solution using a built-in Visual FoxPro function with a worst case of prompting to find the file.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events