From owner-freebsd-current Wed Sep 23 06:02:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA20916 for freebsd-current-outgoing; Wed, 23 Sep 1998 06:02:09 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from axl.training.iafrica.com (axl.training.iafrica.com [196.31.1.175]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA20793 for ; Wed, 23 Sep 1998 06:01:53 -0700 (PDT) (envelope-from sheldonh@axl.training.iafrica.com) Received: from sheldonh (helo=axl.training.iafrica.com) by axl.training.iafrica.com with local-esmtp (Exim 1.92 #1) id 0zLoY9-0001aB-00; Wed, 23 Sep 1998 15:01:41 +0200 From: Sheldon Hearn To: current@FreeBSD.ORG cc: ben@rosengart.com Subject: Re: shouting in a void? In-reply-to: Your message of "Wed, 23 Sep 1998 03:22:15 GMT." <199809230322.UAA18540@usr06.primenet.com> Date: Wed, 23 Sep 1998 15:01:40 +0200 Message-ID: <6066.906555700@axl.training.iafrica.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 23 Sep 1998 03:22:15 GMT, Terry Lambert wrote: > If you don't have a repository, then you don't need to follow > either the commit logs nor a subset of the commit logs, since > you aren't going to be able to check out the code if you > see something interesting go by... right? Well, you are able, it's just a mission. You can use the CVSWeb interface to find out what's changed on a file. I assume you're talking about people who use CVSup to fetch the latest sources? The attached shell script can be used by CVSup users to find out what was changed in the "deltas" shown in CVSup output. With a little massaging, it could easily be taught to fetch _all_ diffs on _any file changed during a CVSup run. Ciao, Sheldon. -------- #!/bin/sh if [ -z $2 ] ; then echo 'usage: lastdiff.sh ' >/dev/stderr echo ' or lastdiff.sh ' \ >/dev/stderr exit 1 fi file=${1#/} if [ -n "$3" ] ; then curr=$3 prev=$2 else curr=$2 major=${curr%.*} minor=$((${curr##*.}-1)) if [ $minor = 0 ] ; then prev=$major else prev=$major.$minor fi fi url=http://www.freebsd.org/cgi/cvsweb.cgi/$file.diff?r1=$prev\&r2=$curr fetch -o - $url || \ echo Error fetching diff -r$prev -r$curr for $file To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message