-
Richard Hartman
- PowerBuilder
- Friday, 16 May 2025 11:17 PM UTC
I recently had reason to check in changes on one system, and check them out on another. When I got to the other system the changes I had made were not evident.
First, a couple if definitions:
Source files have extensions like .srd, .sru (and others).
Generated files (with .pbd, .pbl etc) which seem to be binary, and therefore (I assume) are generated from the sources.
I typically do not check in generated files to a source code control system.
The source files seem to exist in triplicate (??). E.g.:
W:\github\vyvx-sam-rmh>dir /s n_srs_appmanager.sru
Volume in drive W is OSDisk
Volume Serial Number is 8653-921E
Directory of W:\github\vyvx-sam-rmh\SAM\SRC\common
02/26/2025 04:25 PM 33,036 n_srs_appmanager.sru
1 File(s) 33,036 bytes
Directory of W:\github\vyvx-sam-rmh\SRC\common
02/26/2025 04:25 PM 33,036 n_srs_appmanager.sru
1 File(s) 33,036 bytes
Directory of W:\github\vyvx-sam-rmh\ws_objects\SAM\SRC\common\common.pbl.src
05/15/2025 11:37 AM 37,962 n_srs_appmanager.sru
1 File(s) 37,962 bytes
Notice that only one has a current date. When/how are the other copies updated?
Ok. That was on my development system, let's call it A. On the new system (B) I cloned the repo a couple of days ago, but yesterday I made some changes on my dev system and commited and pushed to github. But when I get them out on B, the changes were not in evidence ... kind of. On the disk, the two files that are dated in February on A are dated two days ago (when I cloned the repo) on B. The third copy has a current date. AND it has the changes if I open it with vim. So it _seems_ like the change should be there, since it is the only one on system A that has the change. So the only .sru file with the changes is in the same subfolder (ws_objects) on both systems but IN POWERBUILDER I can see the changes on A, but on B it is still showing the older versions. So ... which of these triplicated files is powerbuilder actually reading ... or does it REALLY read one of the binary files that I didn't check in to the repo?
Note: I do not make use of development environment integrated git because of problems I have had with them in the past, I go to the command line and commit changes directly from there.
So ... one more thing. I have source files going down into three different paths:
SRC\common
SAM\SRC\common
and
ws_objects\SAM\SRC\common\common.pbl.src
(SAM is the name of the application)
The changes seem to be showing up only in the copy in the ws_objects tree. But the A system sees the changes, and the B system does not.
So what actually has to be in a revision control repo to get things out on another system and have it work?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.