info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: find out check in files in CVS


From: Carter Thompson
Subject: RE: find out check in files in CVS
Date: Thu, 11 Mar 2004 15:21:09 -0800

[replying to list in case others want to know this as well]

To get a list of files between two dates you can use rdiff.

Like so:

cvs rdiff -s -D 2004-03-01 -D 2004-03-10 module(s)

The "-s" option give you a single line with the file status of new,
changed or removed and a revision number.  You can then use a revision
number to get the information you want specifically from "cvs log", like
so:

cvs log -N -rrevision file

This will provide you with the time, version, comment and user making
the change in one step.  You'll need to parse the output if you want
something easily readable. Oh, and I use the "-N" option to skip the
listing of tags which isn't that useful at this stage.

I've got all this scripted together so it's a one step operation.  You
should be able to do something similar pretty easily.

Best of luck.

Carter.


> -----Original Message-----
> From: address@hidden 
> [mailto:address@hidden On 
> Behalf Of Ben Kial
> Sent: Wednesday, March 10, 2004 12:17 AM
> To: address@hidden
> Subject: find out check in files in CVS
> 
> 
> How can I generate a list of files that are checked in for a given
> time period (e.g. between Mar. 1 and Mar. 10) with the following
> information?
> 
>    1. Check in time
>    2. Check in version
>    3. Check in comment
>    4. Check in user account
> 
> I tried "cvs log" but it prints lots of information. Is there any tool
> that I can use to generate such report?
> 
> Any help will be very much appreciated.
> 
> 
> Ben
> 
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]