fi
branch=${1}
+rc=0
update_repo()
{
exists=$(git show-ref refs/heads/${b})
if [ -n "$exists" ]; then
vco -q ${b} 1> /dev/null
+
+ if [ ${?} -ne 0 ]; then
+ rc=1
+ fi
echo "${b}"
valid="1"
break
if [ x"${valid}" = x"0" ]; then
echo "No valid branch found"
+ rc=1
fi
popd 1> /dev/null
update_repo ${r}
done < ${SUBREPOS_LIST}
+
+exit ${rc}