info-cvs
[Top][All Lists]
Advanced

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

Re: using cvs log like cvs log -d "24 hours ago"


From: Todd Denniston
Subject: Re: using cvs log like cvs log -d "24 hours ago"
Date: Tue, 25 Jan 2005 10:32:33 -0500

address@hidden wrote:
> 
> Hi,
> i need to get the CVS log entries for entries made in the last 24 hours!
> i tried
> using cvs log like cvs log -d "24 hours ago"
> it doesnt work.
> Any alternative?
> 

cvs log does not work as I expect, but it can be made to give what you want.
try 
cvs log -S -d "24 hours ago <"

the -S "Do not print name/header if no revisions selected."
and the < indicates I want changes after the specified date, and we leave
the up to date unspecified so cvs fills it in with NOW.

cvs log --help
is a little confusing, I had to go to an old email I answered to get this
trick.
        -d dates        A semicolon-separated list of dates
                        (D1<D2 for range, D for latest before).
perhaps a better output would be
        -d dates        A semicolon-separated list of dates, or
                        D1<D2 for a date range, or D< for changes since D,
or
                        D Select the single, latest revision dated D or
earlier.



> Thanks and Regards.
> Pradeep Kumar T
> 
-- 
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]