>>Do you have one now that you consider the best/most recent/most accurate?
>>>I have a dozen or more copies of versions of a VFP project across multiple local and network HDs and directories, none of which are under source control.
>>>I want to install source control, but (how) will it help me identify or create the best/most recent/most accurate single code base from so many variations?
>>>but how can I best generate one code base from so many variations?
>Not even close. I'm still uncertain as to the number of variations...
>Chris.
Using GIT you can load all your different locations into separate branches, and then merge each branch one after the other doing diff compares between each. There's a $5 tool called Stash by Atlassian (
https://www.atlassian.com/software/stash/overview ) which is a personal GitHub-like website where you can set it up on a local Linux server and run it. You can do all your coordinating there graphically, then get the latest, zip up the content, and put that into source control management somewhere else if you want.
Since you're using Visual FoxPro source files (SCX, VCX, etc.) it won't do well as it will recognize those as binary files. But, you can convert them to source files using the (ADDBS(HOME()) + "scctext.prg") program, and then doing your diffs on those source files. Write a little app to generate this information programmatically for all changed *.??X files.
The general syntax is:
DO scctext.prg WITH "path\className.vcx", "V", "c:\path\className.prg", .T.