修改日志的脚本pre-r..evprop-change ,提示钩子失败 婚庆
按下面写了一个只允许修改自己日志的脚.本pre-revprop-change ,并放到hooks目录下,也增.加了运行权限,可是还是提示: 美容
钩子“pre.-revprop-.change”失败,错误输出是:( 游戏 )
Changing revi.sion. properties other than svn:log is prohibited 杀毒
问下是怎么回事?
_____________.___.______________________________________ 杀毒
REPOS="$1"
REV="$2"
USER="$3"
PROPNAME="$4"
ACTION="$5"
if [ "$USER" != $(/usr/bin/.svnlook author -r ."$2" "$1") ]; then.
echo ".author err.or!" >$2
exit 1
elif [ "$AC.TION" = "M" -a "$PROPNAME" = ".svn:log" ]; then<性病>
exit 0
fi
echo "Changing revision. properties o.ther than svn:log is prohibited" >&2服务器
exit 1