Date: Wed, 22 Aug 2001 23:07:53 -0400 From: parv <parv_@yahoo.com> To: stanb@panix.com Cc: freebsd-stable@FreeBSD.ORG Subject: Re: How can I find the version? (date/time ?) of cvsup'd sources Message-ID: <20010822230753.A10974@moo.holy.cow> In-Reply-To: <200108222350.f7MNoEU12253@bunrab.catwhisker.org>; from david@catwhisker.org on Wed, Aug 22, 2001 at 04:50:14PM -0700 References: <200108222346.f7MNkdL17659@panix3.panix.com> <200108222350.f7MNoEU12253@bunrab.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
this was, on the fateful occasion around Aug 22 19:50 -0400, sent by David Wolfskill > > >From: <stanb@panix.com> > >Subject: How can I find the version? (date/time ?) of cvsup'd sources > >Date: Wed, 22 Aug 2001 19:46:39 -0400 (EDT) > > >Subject pretty much says it all. I cvsup'd sometime this weekend, and know > >I have problems. > > >Knowing the exact version I cvsup'd seesm to matter to the solution. > > Look for the $FreeBSD: line in each file you're interested in. > > To reduce the perceived need to do that for the future, you could modify > the mechanism you're using to do the CVSup to log its activities. > in addition, i will take this opportunity to toot my horn, and offer you the following script to parse the cvsup checkout log files(s) for dates (listed from oldest to newest)... #!/bin/sh # these variables are cvsup file name sake; change their values # accordingly... # BASE=/usr/local/etc/cvsup MODULE=src-all TAG=RELENG_4 # get the changed files & dates for files that were changed/checked out # then sort on year, month, day # awk '/^C / { print $7, $2 }' ${BASE}/sup/${MODULE}/checkouts.cvs\:${TAG} | sort -bfi -t '.' -n -k 1 -n -k 2 -n -k 3 #-n -k 4 -n -k 5 -n -k 6 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010822230753.A10974>