Date: Wed, 24 Jul 2013 09:05:05 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253601 - head/sys/conf Message-ID: <201307240905.r6O955dB089024@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Wed Jul 24 09:05:04 2013 New Revision: 253601 URL: http://svnweb.freebsd.org/changeset/base/253601 Log: newvers.sh: fix the fallback case of git-svn detection MFC after: 5 days Sponsored by: HybridCluster Modified: head/sys/conf/newvers.sh Modified: head/sys/conf/newvers.sh ============================================================================== --- head/sys/conf/newvers.sh Wed Jul 24 08:56:59 2013 (r253600) +++ head/sys/conf/newvers.sh Wed Jul 24 09:05:04 2013 (r253601) @@ -132,7 +132,7 @@ if [ -n "$git_cmd" ] ; then else svn=`$git_cmd log | fgrep 'git-svn-id:' | head -1 | \ sed -n 's/^.*@\([0-9][0-9]*\).*$/\1/p'` - if [ -n $svn ] ; then + if [ -n "$svn" ] ; then svn=" r${svn}" git="+${git}" else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307240905.r6O955dB089024>