4 ms·
The old-school VCSes would force you to check out a file before you could start using it. I never used ClearCase, but we used to use VSS and Perforce. Both of t
by ChrisMarshallNY 5y ago
The old-school VCSes would force you to check out a file before you could start using it. I never used ClearCase, but we used to use VSS and Perforce. Both of these would lock the file on your machine, until you "checked it out." You could configure them to act as the case he describes acted, but we never bothered.
The need to "check out" a file, first, became rapidly infuriating. People would deal with it by simply leaving their files unlocked (using a shell script). "Checking out" a file would simply nudge the filesystem lock, as long as the server had not detected a change. In the case there was no change, the programmer could make changes, "check out" the file, just before checking it back in, and the server would get the change. If the server had detected a change, however (it did not use checksums, like Git. The server had a transaction database that it consulted), it would overwrite the file on the programmer's workstation, before "unlocking" it.
As you can imagine, this allowed me to vastly improve my vocabulary of swear words, in several languages.
- Buttons840 5y agoI haven't used such systems, but I'm not surprised by the outcome. Telling a developer they can't edit a text file on their own computer is a system just begging to be worked around.
- ChrisMarshallNY 5y agoGit is wonderful. It took a cranky genius to make it. BG (Before Git) was a dark time, indeed.