RCS

From Notes

Jump to: navigation, search

Basic version control system.

New use:

1. Create an RCS directory to prevent revision files in the current working directory.

mkdir /etc/cups/RCS

2. Check in a file using the -u flag to ensure that the file sticks around unlocked so you can use it.

ci -l -u cupsd.conf

Note that the file is now read-only to indicate that it needs to be checked out before editing.


3. Check out a file for editing.

co -l cupsd.conf

The file should now be available for writing (permissions 664 or similar).


4. Check the file back in when done editing to mark revisions.

ci -u cupsd.conf



Reference

Personal tools