Date: Wed, 7 Aug 2013 07:38:12 +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-9@freebsd.org Subject: svn commit: r254043 - stable/9/sys/conf Message-ID: <201308070738.r777cCoO085188@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Wed Aug 7 07:38:11 2013 New Revision: 254043 URL: http://svnweb.freebsd.org/changeset/base/254043 Log: MFC r253601: newvers.sh: fix the fallback case of git-svn detection Modified: stable/9/sys/conf/newvers.sh Directory Properties: stable/9/sys/ (props changed) stable/9/sys/conf/ (props changed) Modified: stable/9/sys/conf/newvers.sh ============================================================================== --- stable/9/sys/conf/newvers.sh Wed Aug 7 07:36:37 2013 (r254042) +++ stable/9/sys/conf/newvers.sh Wed Aug 7 07:38:11 2013 (r254043) @@ -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.r777cCoO085188>