Date: Thu, 21 Apr 2011 13:24:22 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Doug Barton <dougb@freebsd.org> Cc: freebsd-stable@freebsd.org, Lystopad Olexandr <laa@laa.zp.ua> Subject: Re: Large number of SATA commits (MFCs) to RELENG_8 Message-ID: <20110421182422.GE98632@dan.emsphone.com> In-Reply-To: <4DB0657F.4040502@FreeBSD.org> References: <20110419235038.GA8892@icarus.home.lan> <20110421024359.GB96423@laa.zp.ua> <4DB0657F.4040502@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Apr 21), Doug Barton said: > On 04/20/2011 19:43, Lystopad Olexandr wrote: > > May be we need another one file, like src/ChangeLog ? > > Users who run a -stable branch are expected to read > freebsd-stable@FreeBSD.org (note, not just subscribe), AND read the > commit mail for their branch; just like users who run HEAD are expected > to read freebsd-current@ and the relevant commit mail. I use a small shell script called "update" that does a "svn update", and also prints a line at the end that you can copy&paste into another terminal to get the log of what was just pulled. #! /bin/sh stat=$(svn status --depth empty -v -u) localrev=$(echo "$stat" | cut -c10- | awk 'NR==1 {print $2}') latestrev=$(echo "$stat" | awk 'NR==2 {print $4}') repo=$(svn info | sed -ne '/^URL/s/^.*: //p') echo "$stat" svn info | grep Revision svn update if [ "$localrev" != "$latestrev" ] ; then echo "Log:" echo "svn log -v -r $(($localrev+1)):$latestrev $repo" fi Sample output: (root@dan) /usr/src # ./update M 220902 220902 jilles . Status against revision: 220927 Revision: 220902 U sbin/conscontrol/conscontrol.c U sbin/conscontrol/conscontrol.8 U sbin/conscontrol U sys/kern/uipc_sockbuf.c U sys/kern/kern_exit.c U sys/netgraph/ng_base.c U sys/contrib/pf U sys/contrib/dev/acpica U sys/cddl/contrib/opensolaris U sys/amd64/include/xen U sys/sys/proc.h U sys Updated to revision 220927. Log: svn log -v -r 220903:220927 svn://svn.freebsd.org/base/stable/8 -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110421182422.GE98632>