198Chapter6 • Introduction to CVS
Files listed in the status screen may be edited by moving the cursor to the appropriate line
and pressing the
o
key. This will load the file in question into another window for editing. Press-
ing
f
instead of
o
will result in the file being opened in the current window and replacing the
status information.
When the edited file is saved with changes, the status window will be updated to reflect
this and the file will be shown as being modified.
To check a file back into the repository from Emacs, you need to move the cursor to the
line with the file name on it, and press the
c
key. This will open a new window in which you can
type the log information that reflects the changes that you have made to the file. Press C-c twice
(
C-c C-c
) to save the log information and continue checking the file in. You will be asked to
confirm the action prior to the file being updated in the repository.
Figure6-6 CVS Project status in Emacs with
pcl-cvs
.