From owner-freebsd-stable Wed Aug 22 20: 9:14 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mtiwmhc21.worldnet.att.net (mtiwmhc21.worldnet.att.net [204.127.131.46]) by hub.freebsd.org (Postfix) with ESMTP id A9C2737B407 for ; Wed, 22 Aug 2001 20:09:07 -0700 (PDT) (envelope-from parv@worldnet.att.net) Received: from worldnet.att.net ([32.100.199.227]) by mtiwmhc21.worldnet.att.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010823030855.OBAS1680.mtiwmhc21.worldnet.att.net@worldnet.att.net>; Thu, 23 Aug 2001 03:08:55 +0000 Received: by worldnet.att.net (Postfix, from userid 1001) id 3099B50D1F; Wed, 22 Aug 2001 23:07:54 -0400 (EDT) Date: Wed, 22 Aug 2001 23:07:53 -0400 From: parv 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> Mail-Followup-To: stanb@panix.com, freebsd-stable@FreeBSD.ORG References: <200108222346.f7MNkdL17659@panix3.panix.com> <200108222350.f7MNoEU12253@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200108222350.f7MNoEU12253@bunrab.catwhisker.org>; from david@catwhisker.org on Wed, Aug 22, 2001 at 04:50:14PM -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG this was, on the fateful occasion around Aug 22 19:50 -0400, sent by David Wolfskill > > >From: > >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