Next / Previous / Index / ITC Help System / Publications / Site map / NM Tech homepage

Getting a history of changes to an RCS file

Tech Computer Center logo

The rlog command shows you all of the ``log messages'' that you typed in to describe each successive revision. For example, to get the complete history of file foo:

    % rlog foo
The log messages are listed in reverse chronological order, along with the checkin times and the name of the people who checked them in.

You can also use the rlog command with the -L and -R options to find out if you have any files locked:

    % rlog -L -R RCS/*
This command will list the names of any files that are currently locked.

Important: If you are working on a group project, no one else can modify a file while it is locked by you. Therefore you should use the above command at the end of each work session to make sure that you have checked in all your working copies. If you don't, your other group members may be very unhappy with you! See also the man page for RCS.


Next: Using RCS to control large file trees
See also: What does a source code control system do?
Previous: Checking out a read-only file under RCS
Site map
Index: Keyword index to help pages
Help: New Mexico Tech Information Technology and Communications: Help System
ITC Publications
To report a problem: File a ticket
Send mail to the User consultant on duty or call them at 575-835-5437
Home: About New Mexico Tech

John Shipman, john@nmt.edu
Last updated: 2007/12/05 22:24:12 UT
URL: http://www.nmt.edu/tcc/help/tool/rcs/rlog.html
QR two-dimensional bar code