tags:

views:

558

answers:

5

Looking to get a list of all the files (commit comments would be nice too) of a user in cvs.

+4  A: 
cvs log -t -wJellyJoe
Bill Karwin
+1  A: 

Here's a quick oneliner that will give you a list of every file, followed by changes in that user and the first line of comment from that user.

cvs log | egrep -A 1 'Working file|username'

Output will look like:

Working file: bin/scriptname
head: 1.14
--
date: 2008/01/01 15:15:30;  author: username; state: Exp; lines +3 -2
First line of checkin comment will appear here.

This is a quick and dirty one liner, so YMMV.

Alex B
A: 

You could also use external tools, such as ViewVC, which lets you input queries using web forms. The output is also formatted nicely in the web browser.

Ola Eldøy
A: 
cvs history -a -c  -D 2009-01-20

to review all commits by all users since 2009-01-20

Sally
+1  A: 

Use the following command to list all commits by a specific user:

cvs -q log -N -S -w user dir/

-N Do not list tags.
-S Do not print name/header if no revisions selected.
-w[logins] Only list revisions checked in by specified logins.

Watchout! The order of the switches matters.

For more options and help use:

cvs -H log

(Listing of switches above taken from this command's output).