Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anyone familiar with Git?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Git
Divers
Thread ID:
01632456
Message ID:
01632775
Vues:
96
Looks like you're on the right path.

I still use Christof's TwoFox which does a similar thing to Fox2Bin. I simply have a PRG file I call SCC that is a Fox program that creates the text files from Fox binaries. It has a flag to do the reverse (turn them back into binaries) which I run after a Git Pull.

The problem with all of this is that it's not super stable. if files are open things can be locked etc. which is a bitch. Using project hooks are a good way around this but I don't use projects much except for final builds so that doesn't really work for me.

Ultimately you want to have a Build routine that can put your project into a stable commit state. This can be a PRG that clears and closes everything then creates the text files.

Using DBF files for code seemed smart a long time ago, but man has this been a drag over the years and an endless source of hacks and it's one reason I avoid classes, forms, etc. like the plague. Luckily for Web Connection we don't need binaries much.

+++ Rick ---


>Hi,
>
>I am using Fernando Bozzo's excellent FoxBin2Prg program to convert VFP's binary files (scx/sct, vcx/vct, etc) to text files and back in order to merge changes between branches. In order to make it easier to start with Git I am using SourceTree as a graphical interface, which is only a layer that uses Git to do all the work, so the messages I am getting are Git messages.
>
>When merging two branches I am getting this type of message:
>
>CONFLICT (rename/delete): comun/FORMS/ALERTLIS.SC2 deleted in HEAD and renamed in master. Version master of comun/FORMS/ALERTLIS.SC2 left in tree.
>
>Files ending in SC2 are generated text versions of the SCX/SCT file pair.
>
>Does anyone here know what do these messages mean and how to respond? Unfortunately for me, Fernando uses a different source control program, not Git.
>
>Somewhere I read that Git is able to tell that a file has been renamed, which makes me wonder if it would be able to tell that the generated SC2 files were the result of two different generations and somehow be confused by that.
>
>I'd appreciate any help.
>
>Alex
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform