From owner-freebsd-stable Thu Oct 7 9:23:13 1999 Delivered-To: freebsd-stable@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id C866815074 for ; Thu, 7 Oct 1999 09:22:58 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id JAA00437; Thu, 7 Oct 1999 09:21:18 -0700 (PDT) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id JAA47057; Thu, 7 Oct 1999 09:21:17 -0700 (PDT) (envelope-from jdp@polstra.com) Date: Thu, 7 Oct 1999 09:21:17 -0700 (PDT) Message-Id: <199910071621.JAA47057@vashon.polstra.com> To: Martin@McFlySr.Kurgan.Ru Subject: Seeing log messages associated with CVSup updates In-Reply-To: <13641.991004@McFlySr.Kurgan.Ru> References: <13641.991004@McFlySr.Kurgan.Ru> Organization: Polstra & Co., Seattle, WA Cc: stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <13641.991004@McFlySr.Kurgan.Ru>, Martin McFlySr wrote: > Hello freebsd-stable@FreeBSD.ORG, > > 1. How can i see what namely was changed in files after CVSup is done? > I can seen at log CVSup, but can see only what files was changed: > > Edit src/share/man/man5/rc.conf.5 > Add delta 1.27.2.17 99.10.02.10.21.36 des > Add delta 1.27.2.18 99.10.02.21.41.35 des Here is a really clever awk script that was written by Dom Mitchell . It converts your CVSup log output into an html page that you can display in your web browser. Each "Edit" or "Checkout" line becomes a link to the cvsweb page for the file. This script will be in the contrib section of the next release of CVSup. John #!/usr/bin/awk -f # # Convert a CVSup logfile to HTML. Note that this script requires nawk # or better (gawk will do, and is the default on FreeBSD. # # @(#) $Id: cvsup2html.awk,v 1.3 1999/02/22 11:04:40 dom Exp $ # BEGIN { url="http://www.freebsd.org/cgi-bin/cvsweb.cgi" print "
"
}
$1 == "Edit" || $1 == "Checkout" {
	file=$2
	$2 = "" $2 ""
	print " " $1, $2
	next
}
{
	print
}
END	{
	print "
" } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message