Script Help

Rez P <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
I'm curious as to how other build engineers keep a log, do you run cvs stat or cvs log also? Is there a cvs command to print only the path and revsion number without resotry to scripting?
 
I realize now that my build log generated from CVS stat output has been incorrect.  I've been executing the below command
 
cvs -f stat | grep "Repository revision" | gawk '{print $4 " " $3}'
 
and I've been keeping track of the repository versions instead, that are useless to me.  I need to know the exact revisions of my local working folder contributing to my build and generate a log based on them but I find myself at a loss as to how to grep for 2 items at the same time from the result of 'cvs stat' and pass it to gawk, as listed below?! 
 
EXCERPT:
===================================================================
File: doc  - help.doc   Status: Up-to-date
 
   Working revision:    1.1
   Repository revision: 1.1     /source/help_files/doc - help.doc,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      -kb
 
===================================================================
 
 
I would like my log to show, "Working Revision:"  The file path from the line below it and the version number next to working revision or just path and working rev, something like:
 
.
.
Working Revision: /source/help_files/doc - help.doc,v 1.1
.
.
 
Thanks for your help
 
Rez
_________________________________________________________________
It’s the same Hotmail®. If by “same” you mean up to 70% faster. 
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Same_022009
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.