01-09-2023 08:09 PM
Hi guys!
I'm trying to set this up with Sourcetree. I can invoke the diff tool, but I get this error:
What am I doing wrong?
01-10-2023 03:10 AM - edited 01-10-2023 03:11 AM
Hi Allen,
how did you configure SourceTree to use the diff tool?
Which arguments did you set?
In GIT Fork we use these : “$LOCAL” “$REMOTE” -nobdpos -nobdcosm
I was the one that wrote the LabVIEW version of the adapter but haven't tested it with SourceTree.
You can also find the source code in a previous post in this thread.
You can also find more info on how to configure the compare in Fab's post :
https://dqmh.org/configuring-hg-or-git-to-use-labview-compare-and-labview-merge/
Let me know if you need any more help.
Best Regards,
Stefan
01-10-2023 11:14 AM
Hi Stefan,
Thanks for getting back to me.
This is my configuration in Sourcetree:
The diff command path is C:\Program Files (x86)\National Instruments\LVCompare Git Adapter\lvcomparegit.exe.
I'll look at Fab's videos, too.
02-08-2023 10:47 AM - edited 02-08-2023 10:48 AM
@StefanLemmens wrote:
Here is the source code for the modified version of the LVCompareGitAdapter.
But I still think Sam's shell script is much nicer since it doesn't require a LabVIEW run-time to be installed.
Best Regards,
Stefan
Were you able to get Sam's shell script working in Fork? As @AlexElb noted it seems you can only select *.exe or *.cmd files for the external tools.
02-04-2025 08:20 AM
I tried to setup Sam's scripts in fork, but didn't manage. But NI improved the diff and merge tools in LV24 (maybe prior version, too), so that th adapter script isn't needed anymore.