Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help using Vault for version control
Message
From
01/07/2008 14:33:05
 
 
To
01/07/2008 14:07:18
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01327556
Message ID:
01327998
Views:
10
Thanks. I'll try that. (crossing fingers)

Alex

>>So you save "clear text" version in database and not scx, vcx, frx?
>>
>>Christof's code is nice and simple.
>>
>>Still have the problem that VFP shuts down when I say that project is under source control. Any suggestions?
>
>Don't have the project under source control. Vault (or any other) integration is tricky - for those for whom it works, nice, for the rest of us, manual does it.
>
>First of all, have a clear text version. We do it (using scctextX.prg) in parallel to the dbf version, just so we can diff and maybe merge as needed - or so we can steal code from our own classes without exactly knowing the class, library suffices. Generally the text serves to check for differences on scx and vcx files.
>
>My algorithm:
>- check out the files I need (not necessarily all at once - I can't know everything in advance)
>- work
>- when I'm ready to check in, run a little script to generate all the .scc files in batch (well, it should do so for updated only, but for some reason it seems to calculate a different sys(2007) on the OLE field on some (not all!) activeX controls, so the scc comes out as different.
>- at check in, go through the "pending change set" tab in the lower part of the client. Vault knows what I checked out, I don't have to remember. I may want to check some things in now, some later; may want to check one set of files now with one comment, then another with another comment. Select, write the comment, check in (scc files go together with the files from which they were derived!).
>- when nothing more checked out, get latest on the whole tree, with overwrite. That'll also overwrite any stray versions which were falsely made different by compiling (or the damn OLE field).
>
>Rule of thumb: if you've edited it, you've checked it out first (or immediately after). You did get latest without checkout, you overwrote your changes - your bad. You're the cow which kicked the bucket.
Previous
Reply
Map
View

Click here to load this message in the networking platform