13.07.2015 Views

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

8.2 Source C<strong>on</strong>trol: Whys and Hows199Figure 8.2 CVS asking for commentary as part of a commitNOTEIf you quit the editor without writing your changes (in vi, that would be :q!) thenCVS will ask if you want to abort the entire commit. If you choose to abort, nochanges will be made to the repository. You’ll be right back to where you werejust before typing the cvs commit command.You will be able to see the comments associated with each versi<strong>on</strong> of thefile using the cvs log command (see Secti<strong>on</strong> 8.2.6).As you will want to provide brief but meaningful descripti<strong>on</strong>s in thesecomments, it may be helpful to remind yourself what in fact has changed. Youcan see the differences between the versi<strong>on</strong> that you checked out and the file asit stands today by using the cvs diff command:$ cvs diff Account.javaHere, as in commit, you can name <strong>on</strong>e or more files, or even a directory. CVSwill display what lines you’ve added, modified, or removed in each file.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!