exit 0
fi
;;
+clean)
+ root=$(repo_root)
+ cd "${root}" || exit 1
+ mj_init
+ while read -a line ; do
+ dir=${line[0]}
+ proj=${line[2]}
+ cd "${root}/${dir}"
+ (
+ out=$(g clean "$@" 2>&1)
+ if [[ -n ${out} ]] ; then
+ echo "### ${proj}"
+ echo "${out}"
+ fi
+ _mj_child
+ ) &
+ mj_post_child
+ done < <(r l)
+ mj_finish
+ exit
+ ;;
sb-push)
sync_branch="v"
# fatal: The remote end hung up unexpectedly
mj_init 16
- rlist=$(r list)
+ rlist=$(r l)
tcnt=$(echo "${rlist}" | wc -l)
cnt=1
while read line ; do
src="${sync_branch}"
g l -1 ${src} >& /dev/null || src=
mj_child g push --force ${remote}/${proj} ${src}:refs/sandbox/${USER}/${sync_branch} >/dev/null
- done < <(r list)
+ done < <(echo "${rlist}")
mj_finish
exit 0