Skip to content
Snippets Groups Projects
Commit 7c422f7cf045 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:pencil: update duplicate sources: exit when clone fails

parent 753eef6e56be
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@
if [ -e ".hg" ]; then
branch="$(hg id -b)"
tags=($(hg id -t))
hg clone ssh://hg@bitbucket.org/xcg/${source_name}
hg clone ssh://hg@bitbucket.org/xcg/${source_name} || exit 1
pushd $source_name
hg update $branch
branch_exist=$?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment