You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2016/04/10 14:48:17 UTC

[3/6] isis git commit: ISIS-1335: improving error handling in github-pr.sh when the repo to merge from cannot be found

ISIS-1335: improving error handling in github-pr.sh when the repo to merge from cannot be found


Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/7f7520a6
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/7f7520a6
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/7f7520a6

Branch: refs/heads/master
Commit: 7f7520a6e5bff16962770d264099377f7ee4f71a
Parents: 0d40572
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Sun Apr 10 12:23:25 2016 +0100
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Sun Apr 10 12:23:25 2016 +0100

----------------------------------------------------------------------
 github-pr.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/7f7520a6/github-pr.sh
----------------------------------------------------------------------
diff --git a/github-pr.sh b/github-pr.sh
index bbccc5a..a78dee7 100644
--- a/github-pr.sh
+++ b/github-pr.sh
@@ -103,8 +103,13 @@ echo "username         : $username"
 echo "repo_full_name   : $repo_full_name"
 echo "repo_clone_url   : $repo_clone_url"
 echo "branch_name_fork : $branch_name_fork"
-
 echo ""
+
+if [ "x$repo_full_name" = "xnull" ]; then
+    die "Could not determine the repo to merge from"
+fi
+
+
 echo "merging into: $branch_name_temp"
 echo ""