< prev index next >
common/bin/hgforest.sh
Print this page
*** 363,374 ****
fi
sleep 5
done
fi
# run the clone command.
! echo "hg${global_opts} clone ${clone_newrepo} ${i}" > ${status_output}
! (PYTHONUNBUFFERED=true hg${global_opts} clone ${clone_newrepo} ${i}; echo "$?" > ${tmp}/${repopidfile}.pid.rc ) 2>&1 &
else
# run the command.
echo "cd ${i} && hg${global_opts} ${command} ${@}" > ${status_output}
cd ${i} && (PYTHONUNBUFFERED=true hg${global_opts} ${command} "${@}"; echo "$?" > ${tmp}/${repopidfile}.pid.rc ) 2>&1 &
fi
--- 363,374 ----
fi
sleep 5
done
fi
# run the clone command.
! echo "hg${global_opts} clone -U ${clone_newrepo} ${i}" > ${status_output}
! (PYTHONUNBUFFERED=true hg${global_opts} clone -U ${clone_newrepo} ${i}; echo "$?" > ${tmp}/${repopidfile}.pid.rc ) 2>&1 &
else
# run the command.
echo "cd ${i} && hg${global_opts} ${command} ${@}" > ${status_output}
cd ${i} && (PYTHONUNBUFFERED=true hg${global_opts} ${command} "${@}"; echo "$?" > ${tmp}/${repopidfile}.pid.rc ) 2>&1 &
fi
< prev index next >