浏览代码

Abort if merge fails

svn changeset:22856/svn branch:6.8
tags/7.0.0.alpha2
Artur Signell 12 年前
父节点
当前提交
67037e59a4
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6
    0
      scripts/merge.sh

+ 6
- 0
scripts/merge.sh 查看文件

@@ -28,6 +28,12 @@ sourceurl="$currentrepowithoutversion/$FROM"

msg=`svn log $sourceurl -r $REVISION --xml|grep "<msg>"|sed "s/<msg>//"|sed "s/<\/msg>//"`
svn merge $sourceurl . -c $REVISION
if [ "$?" != "0" ]
then
echo "Merge failed. Conflicts must be resolved manually!"
exit 3
fi

msg="[merge from $FROM] $msg"
if [ "$AUTOCOMMIT" = "autocommit" ]
then

正在加载...
取消
保存