From 28cc187495b4bed6cbf86708dac1a49f82c0db37 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Fri, 16 May 2014 16:15:36 +0000 Subject: [PATCH] removed garbage in the post-revprop-change script --- codepot/etc/post-revprop-change.in | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/codepot/etc/post-revprop-change.in b/codepot/etc/post-revprop-change.in index fb96b073..24f1112e 100644 --- a/codepot/etc/post-revprop-change.in +++ b/codepot/etc/post-revprop-change.in @@ -15,17 +15,8 @@ my $USER = $ARGV[2]; my $PROPNAME = $ARGV[3]; my $ACTION = $ARGV[4]; -REPOBASE="`basename "${1}"`" -REVISION="${2}" -USER="${3}" -PROPNAME="${4}" -ACTION="${5}" - # [STDIN] PROPVAL ** the old property value is passed via STDIN. -#wget -q -O- "%API%/logCodeRevpropChange/svn/${REPOBASE}/${REVISION}/${USER}/${PROPNAME}/${ACTION}" 2>/dev/null -#exit 0 - sub get_config { my $cfg = new Config::Simple(); @@ -83,7 +74,7 @@ sub write_revprop_change_log my $message = "svn,$projectid,$revision,$propname,$action"; my $createdon = strftime ('%Y-%m-%d %H:%M:%S', localtime()); - $dbh->begin_word (); + $dbh->begin_work (); my $query = $dbh->prepare ("INSERT INTO ${prefix}log (type,projectid,message,createdon,action,userid) VALUES (?,?,?,?,?,?)"); if (!$query || !$query->execute ('code', $projectid, $message, $createdon, 'revpropchange', $userid))