Serman D. wrote, On 08/07/2007 09:24 AM:
Folks,

[CVS 1.11.17 (both client and server), linux 2.6.9, ext3, GNU bash
3.00.15]

I have made a series of commits to a specific branch, and would like
to apply some of those to another branch also.  Now I wonder if there
is a simple way to list all my commits for the last, say 10 days?

Regards
--
Serman D.



http://www.w3.org/TR/NOTE-datetime
http://www.red-bean.com/cvs2cl/

TODAY=`date --iso-8601`
TENAGO=`date -d "10 days ago" --iso-8601`
#I really like gnu date. :)
DATESTRING=`echo "$TENAGO;$TODAY"`
cvs2cl.pl -r -t  -R serman_d -l "-d$DATESTRING"

That was fun.

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


Reply via email to