summaryrefslogtreecommitdiffstats
path: root/scripts/merge.sh
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2012-02-02 10:15:50 +0000
committerArtur Signell <artur.signell@itmill.com>2012-02-02 10:15:50 +0000
commit67037e59a428c3b9abfb58c02228885f4372566e (patch)
tree0fccd5d79080923b2efb4c30092e751a628aeada /scripts/merge.sh
parent98737932a588f1b4a8f8115f2545da63ae7f4e4a (diff)
downloadvaadin-framework-67037e59a428c3b9abfb58c02228885f4372566e.tar.gz
vaadin-framework-67037e59a428c3b9abfb58c02228885f4372566e.zip
Abort if merge fails
svn changeset:22856/svn branch:6.8
Diffstat (limited to 'scripts/merge.sh')
-rwxr-xr-xscripts/merge.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/merge.sh b/scripts/merge.sh
index 40423691e8..a8c356ad30 100755
--- a/scripts/merge.sh
+++ b/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