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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Problem using Beyond Compare for diffs on paired files

I'm trying Sourcetree with some Git repositories for Visual FoxPro (VFP) applications. I've set up Beyond Compare as the diff tool.

VFP uses DBFs (tables) with special extensions to store certain kinds of source code, and the resulting files are paired. For example, a form is stored as an SCX/SCT pair.

I have a Beyond Compare extension installed that allows the tool to work with these paired files. When I was previously using Mercurial with Hg Workbench, if I selected both files of the pair, I was able to diff via Beyond Compare.

I'm looking for a way to tell Sourcetree to do the same thing. That is, if I select two files that Beyond Compare recognizes as paired, it should use the extension to open the pair and do the diff. Is that possible?

1 answer

1 accepted

0 votes
Answer accepted

I've now built a custom Diff tool that grabs the filenames from SourceTree and does what's needed to pass the right info to Beyond Compare for these paired files. Happy to share if anyone wants to try it out and give me feedback.

I would like to see your fix.

It's a VFP EXE. Send me an email address and I'll give you a link to download and some instructions. You can send to me at tamar at tomorrowssolutionsllc.com.

edp I'm New Here Aug 30, 2021

Hi Tamar,

I installed Beyond Compare on a new computer and couldn't figure out why VFP comparison was not working the same as my old pc. Then I remembered that someone in my office found an add-on called VFP2Text a few years ago. I am curious if your solution is similar.

BTW, my curiosity stems from the fact that you are an esteemed VFP guru and your solution may have more meat to it! :) In any case, it is an opportunity to thank you for all your years of contributing to the Fox community.

Regards,

Ed

My solution builds on VFP2Text.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,769 views 4 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you