On Fri, Nov 09, 2001 at 09:50:55PM +1100, Ben Leslie wrote:
> Hi all,
> 
> I would like to have some program that will extract cvs log messages
> betwen two dates (or really just for the last week).
> 
> The cvs log command appears as though it should do what I want but
> the combination I have tried ersult in either all the messages being shown,
> none of the messages being shown, or all except this weeks messages being
> shown.
> 
> If anyone has done this before and can help me grok the syntax I'd
> appreciate it.

Dates in the 'cvs log' command can be slightly tricky, I agree.

What you are wanting to do is

        cvs log -d "2001-11-02<2001-11-09"

to extract all log messages between 2/11 and 9/11 inclusive. You can
even do cvs log -d "2001-11-09>2001-11-02" to get the same thing (note
that the '<' or'>' sign points to the smaller date.

Hope this helps.

Cheers,
Malcolm

-- 
42.7 percent of all statistics are made up on the spot.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to