[Top][All Lists]

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

RE: My Boss is away!

From: Jim.Hyslop
Subject: RE: My Boss is away!
Date: Fri, 28 May 2004 09:45:06 -0400

Jacques wrote:
> Iain Freeston wrote:
> > I have been tasked to find out all the code that has 
> > changed in a specific 
> > directory this week. Problem is the CVS administrator is 

> cvs annotate is the command.
Well, sure, you *could* figure it out that way. All you would have to do is
to issue the 'annotate' command, redirect the output to a file, then examine
each line in the file, looking for an entry that's in the desired date

There's only one problem: the file will be huge. It would be exactly like
reading through every single source file in your project.  I don't know what
size of project Iain is working on, but my project consists of three
modules. The *smallest* of those modules has well over 2,000 files in it.
Let's assume an average of 800 lines per file - that's 1.6 million lines of
code I'd have to read.

cvs log -R -d"start<end"

will tell you the names of the files that have been changed in the date

Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (
Columnist, C/C++ Users Journal (

reply via email to

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