info-cvs
[Top][All Lists]
Advanced

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

Re: Querying log messages and more


From: Todd Denniston
Subject: Re: Querying log messages and more
Date: Fri, 12 Mar 2004 10:27:52 -0500

Jeeva Sarma wrote:
> 
> Hi
> I want to do the following.
> Query the log messages of all the files in the
> repository, get the file names and revision numbers
> associated with the log messages that contain a
> certain number(task number)
cd CurrentCheckedOutSandbox
cvs2cl.pl -r -t -C -R "task number"

I have a script that does the above, including making a temporary checkout in
/tmp/ for the search.

http://www.red-bean.com/cvs2cl/
ok not sure, for a while the current version was as CVSUtils on cpan
http://search.cpan.org/~fluffy/
but looks like it may be back to red-bean...?..

> and then checkout those
> revisions into a directory.

Should have applied a tag so you could:
cvs checkout -r tag module
however you might be able to use the output from cvs2cl to back create a tag,
I have done it before, its kind of a pain. in the future if you need to be
able to checkout specific points in the baseline tag the baseline...the whole
baseline...unless you want to ONLY check out the files WITH the tag
(everything else gets unchecked out).
using `cvs checkout "-D DateFoundIn_cvs2clOutput" module` might give what you
want.

> Is there anyway to do this other than writing a
> complex script?

use an already complex script to get the information first and then have it's
output parsed 
(cvs2cl will put out in xml if you want) by a slightly complex script.

> Any command I can use? ( other than the cvs log
> command) If anyone has done something similar, can you
> pls give me a few ideas? I would appreciate any help
> on this.
> 
> Thanks,
> Jeeva
> 

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter




reply via email to

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