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.

204Chapter 8Know What You Have: CVSExample 8.2 An example of running the cvs log command$ cvs log Account.javaRCS file: /usr/local/srcbank/JavaAppDev<strong>Linux</strong>/Account.java,vWorking file: Account.javahead: 1.4branch:locks: strictaccess list:symbolic names:keyword substituti<strong>on</strong>: kvtotal revisi<strong>on</strong>s: 4; selected revisi<strong>on</strong>s: 4descripti<strong>on</strong>:----------------------------revisi<strong>on</strong> 1.4date: 2003/05/20 11:59:59; author: albing; state: Exp; lines: +80 -5more comments added----------------------------revisi<strong>on</strong> 1.3date: 2003/05/18 15:03:23; author: albing; state: Exp; lines: +3 -2end case fixed----------------------------revisi<strong>on</strong> 1.2date: 2003/05/17 11:05:40; author: albing; state: Exp; lines: +69 -2actually runs - unit tested----------------------------revisi<strong>on</strong> 1.1date: 2003/05/17 10:15:18; author: albing; state: Exp;a rough structure=======================================================================• The comment that was entered when the user committed the change.(For a descripti<strong>on</strong> of state, and why you will almost always see Exp;, see theCederqvist reference in Secti<strong>on</strong> 8.6.)Do you want less output from cvs log? You can restrict the informati<strong>on</strong>to cover <strong>on</strong>ly a certain user’s changes (-w), to a certain range of revisi<strong>on</strong>s (-r),and/or between certain dates (-d).For example,cvs -walbing -r1.2:1.4 -d05-Sep03 -d28-Sep-03 Account.javawill list <strong>on</strong>ly changes committed by user albing, <strong>on</strong>ly in the revisi<strong>on</strong> range of1.2 through 1.4, and <strong>on</strong>ly between the dates of 05 and 28 September of 2003.

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

Saved successfully!

Ooh no, something went wrong!