Date: Thu, 7 Oct 1999 09:21:17 -0700 (PDT) From: John Polstra <jdp@polstra.com> To: Martin@McFlySr.Kurgan.Ru Cc: stable@freebsd.org Subject: Seeing log messages associated with CVSup updates Message-ID: <199910071621.JAA47057@vashon.polstra.com> In-Reply-To: <13641.991004@McFlySr.Kurgan.Ru> References: <13641.991004@McFlySr.Kurgan.Ru>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <13641.991004@McFlySr.Kurgan.Ru>,
Martin McFlySr  <Martin@McFlySr.Kurgan.Ru> 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
<Dom.Mitchell@palmerharvey.co.uk>.  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 "<PRE>"
}
$1 == "Edit" || $1 == "Checkout" {
	file=$2
	$2 = "<a href=\"" url "/" $2 "\">" $2 "</a>"
	print " " $1, $2
	next
}
{
	print
}
END	{
	print "</PRE>"
}
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?199910071621.JAA47057>
