svn强制写日志
来源:互联网 发布:淘宝店铺促销活动方案 编辑:程序博客网 时间:2024/06/05 14:23
REPOS="$1"
TXN="$2"
# Make sure that the log message contains some text.
SVNLOOK=/usr/bin/svnlook
$SVNLOOK log -t "$TXN" "$REPOS" | \
grep "[a-zA-Z0-9]" > /dev/null || exit 1
# Check that the author of this commit has the rights to perform
# the commit on the files and directories being modified.
omments should have more than 5 characters
LOGMSG=$($SVNLOOK log -t "$TXN" "$REPOS" | grep [a-zA-Z0-9] | wc -c)
if [ "$LOGMSG" -lt 15 ];
then
echo -e "Please provide a meaningful comment when committing changes." 1>&2
exit 1
fi
pre-commit
0 0
- svn强制写日志
- svn限制强制写日志
- Visual SVN 强制写日志 脚本
- svn强制用户写日志提交
- 设置svn强制写日志和日志可修改方法
- windows下svn提交版本时强制写日志
- windows下svn提交版本时强制写日志 .
- SVN的钩子--限制强制写日志(log)
- Linux下SVN提交时强制写日志问题
- SVN强制填写日志
- svn强制写日志和可以修改历史日志(svn钩子的应用)
- [转]windows下svn限制强制写日志及只能修改自己日志脚本
- SVN与TortoiseSVN修改日志和强制写日志实现详解
- SVN与TortoiseSVN修改日志和强制写日志实现详解
- SVN 强制写LOG脚本
- svn提交强制写注释
- Subversion提交强制写日志
- windows下svn强制写日志hook脚本增强版(空格过滤)
- 异步任务和网络编程详细学习。四大组件了解下
- Android App接入微信开放平台注意事项
- 软件加密保护方案
- 人生就是不断的选择
- 在新浪微博的地址
- svn强制写日志
- 凸包浅谈
- AVAudioPlayer不能正常播放声音如何解决?
- 关于Android ant build的学习
- 值的比较
- mysql sock找不到
- 软件加密的现状和发展趋势
- Android 代码混淆及第三方jar包不被混淆
- 【记录】MFC中自定义消息