Java Reference
In-Depth Information
Figure 8.2
CVS asking for commentary as part of a commit
NOTE
If you quit the editor without writing your changes (in
vi
, that would be
:q!
) then
CVS will ask if you want to abort the entire commit. If you choose to abort, no
changes will be made to the repository. You'll be right back to where you were
just before typing the
cvs commit
command.
You will be able to see the comments associated with each version of the
file using the
cvs log
command (see Section 8.2.6).
As you will want to provide brief but meaningful descriptions in these
comments, it may be helpful to remind yourself what in fact has changed. You
can see the differences between the version that you checked out and the file as
it stands today by using the
cvs diff
command:
$ cvs diff Account.java
Here, as in
commit
, you can name one or more files, or even a directory. CVS
will display what lines you've added, modified, or removed in each file.