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
        dnel...@allantgroup.com
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to