Date: Wed, 7 Aug 2013 07:38:19 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r254044 - stable/8/sys/conf Message-ID: <201308070738.r777cJai085244@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Wed Aug 7 07:38:18 2013 New Revision: 254044 URL: http://svnweb.freebsd.org/changeset/base/254044 Log: MFC r253601: newvers.sh: fix the fallback case of git-svn detection Modified: stable/8/sys/conf/newvers.sh Directory Properties: stable/8/sys/ (props changed) stable/8/sys/conf/ (props changed) Modified: stable/8/sys/conf/newvers.sh ============================================================================== --- stable/8/sys/conf/newvers.sh Wed Aug 7 07:38:11 2013 (r254043) +++ stable/8/sys/conf/newvers.sh Wed Aug 7 07:38:18 2013 (r254044) @@ -121,7 +121,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?201308070738.r777cJai085244>