Child pages
  • RCS Commands

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

RCS Commands (via an example) for use on the Linux VMs.

Create RCS Repo

In the directory where you want to use RCS, do the following:

Code Block
sudo mkdir RCS
sudo chown -R root:iam

In the directory above the directory where you want to use RCS, do the following:

Code Block
sudo chown <current owner>:iam <name of directory>

Checkout

Code Block
co -l httpd.conf
RCS/httpd.conf,v  -->  httpd.conf
revision 1.2 (locked)
done

Checkin

Code Block
ci -u httpd.conf
RCS/httpd.conf,v  <--  httpd.conf
new revision: 1.3; previous revision: 1.2
enter log message, terminated with single '.' or end of file:
>> Set UseCanonicalName to On and ServerName to wiki-dev.library.ucsf.edu as per Shibd instructions.
>> .
done

Differences and Log Info

Code Block
rcsdiff httpd.conf

In generic format:

Code Block
rcsdiff -r<version1> -r<version2> <filename>
rcsdiff <filename>
rlog <filename>