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

Listing the current changes to an RCS file

Tech Computer Center logo

When you check in a file after changing it, RCS will ask you to type in a description of what you've done. There is a way to review your changes on a line-by-line basis. Use the rcsdiff command to generate a complete list of all the changed lines.

For example, if you have changed a file named foo since it was locked, you can get the list of changes with this command:

    % rcsdiff foo
The output of this command shows the old versions of each line prefaced with a "<" character and the new versions prefaced with a ">" character, along with lines that tell what line number was affected. This output is similar to that of the diff command; see the man page for diff.

Once you have reviewed the changes you've made, you are ready to proceed to the next topic: `Checking in a new revision under RCS'.


Next: Checking in a new revision under RCS
See also: What does a source code control system do?
Previous: Adding ID keywords in an RCS file
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:23:14 UT
URL: http://www.nmt.edu/tcc/help/tool/rcs/rcsdiff.html
QR two-dimensional bar code