From owner-svn-src-head@FreeBSD.ORG Thu Dec 1 00:59:32 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 29A621065672; Thu, 1 Dec 2011 00:59:32 +0000 (UTC) Date: Thu, 1 Dec 2011 00:59:32 +0000 From: Alexander Best To: John Baldwin Message-ID: <20111201005932.GA54417@freebsd.org> References: <201111292128.pATLSnKr067459@svn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201111292128.pATLSnKr067459@svn.freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r228148 - head/sys/conf X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2011 00:59:32 -0000 On Tue Nov 29 11, John Baldwin wrote: > Author: jhb > Date: Tue Nov 29 21:28:48 2011 > New Revision: 228148 > URL: http://svn.freebsd.org/changeset/base/228148 > > Log: > Remove a bit of debugging that accidentally crept in earlier. > > Modified: > head/sys/conf/newvers.sh > > Modified: head/sys/conf/newvers.sh > ============================================================================== > --- head/sys/conf/newvers.sh Tue Nov 29 20:06:27 2011 (r228147) > +++ head/sys/conf/newvers.sh Tue Nov 29 21:28:48 2011 (r228148) > @@ -99,7 +99,6 @@ for dir in /bin /usr/bin /usr/local/bin; > done > > if [ -n "$svnversion" ] ; then > - echo "$svnversion" > svn=`cd ${SYSDIR} && $svnversion` any chance we could replace $svnversion with something like the following: 'svn info|grep ^Revision|sed 's/^Revision: //'' ? this is much faster and the only downside seems to be the missing {MSP} at the end. running a standard hdd, svnversion takes almost half a minute, while the command above finishes in < 0.1 seconds. cheers. alex > case "$svn" in > [0-9]*) svn=" r${svn}" ;;