info-cvs
[Top][All Lists]
Advanced

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

Re: How can I see just the log messages from a certain date?


From: Steve Greenland
Subject: Re: How can I see just the log messages from a certain date?
Date: Thu, 27 Dec 2001 10:01:33 -0600
User-agent: Mutt/1.2.5i

On Thu, Dec 27, 2001 at 10:24:50AM +0200, Ayelet wrote:
> I've read the very informative line :
> "-d dates        Specify dates (D1<D2 for range, D for latest before)."
> but I probably did not understand it correctly, that's why I'm posting a
> question.

> When I write is:
> CVS log -d 12/20/2001 12/22/2001
> it returns an error message that 12/22/2001 is not a known directory

Because you've asked it to log a file named "12/22/2001".

> When I write is:
> CVS log -d 12/20/2001 -d 12/22/2001
> it returns the older log records.

Only one '-d' per command.

> I've tried:
> CVS log -d "12/20/2001 < 12/22/2001"
> And it gives the entire log
> 
> I cant write the "<" sign since it will mean a redirection of input, and
> will not work.

Yes you can, you quote it as you have above.

The problem is that you've managed to pick the *one* common date format
that CVS (quite reasonably) doesn't like: mm/dd/yyyy. Try using any of
the formats listed in Cederqvist or Karl Fogel's book. For example:

cvs log -d "2001/12/20<2001/12/22"

Steve




reply via email to

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