From: Fabian Groffen Date: Mon, 12 May 2008 15:27:21 +0000 (-0000) Subject: Try to prevent myself from committing with a huge pointless commit message again... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=1314f55ec6e70a301c9ab55fe71f447947f562ec;p=portage.git Try to prevent myself from committing with a huge pointless commit message again when I'm not entirely awake svn path=/main/branches/prefix/; revision=10301 --- diff --git a/svnlogmsg.awk b/svnlogmsg.awk index 9d163b293..856dc4891 100755 --- a/svnlogmsg.awk +++ b/svnlogmsg.awk @@ -15,13 +15,13 @@ [[ -z $1 ]] && exit -1 if [[ ${1/:/} != $1 ]] ; then - t1=${1%:*} ; t1=${t1#r} + t1=${1%:*} ; t1=${t1#-r} ; t1=${t1#r} t2=${1#*:} # see above t1=$((t1 + 1)) r=${t1}:${t2} else - r=$1 + r=${1#-r} ; r=${r#r} fi svn log ../../trunk -r$r | awk -v revs=$1 '