There are systems for making sure that two people aren’t editing the same file.
There are two systems for controlling projects that are worked on by multiple users: RCS (Revision Control System) and SCCS (Source Code Control System). We aren’t going to tell you much about them, but you should understand a little about how they work.
Both RCS and SCCS are designed for maintaining edits to a file. The idea is that the revision system keeps a record of what changes were made to a file and when, so that if you ever want to revert to a previous version you can do it easily. For programmers, this is very important, since today’s changes might introduce new bugs and the only way to fix it is to revert to a previous version. You can also see a list of differences between two versions of a file, to help you figure out exactly where things went wrong.
RCS and SCCS also give users a way to “lock” a file. By locking a file, you declare that you’re making changes to the file, and no one else better touch it. Locking a file is also called “checking out” a file.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access