proj=${line[2]}
cd "${root}/${dir}"
(
- out=$(r rb all . 2>&1)
+ out=$(env _proj=${proj} r rb all . 2>&1)
[[ -n ${out} ]] && echo "${out}"
_mj_child
) &
eval $(bash-colors --env)
#echo "${GOOD}### ${PWD}${NORMAL}"
+ # Skip if rebase is in progress.
+ if [[ -e .git/rebase-merge/interactive ]] ; then
+ echo "# ${_proj}: skipping due to active rebase"
+ exit 1
+ fi
for b in ${branches} ; do
#echo " ${HILITE}### $b${NORMAL}"
g co -q $b || exit 1