make/scripts/hgforest.sh

Print this page

        

*** 96,106 **** echo "Starting on ${i}" n=`expr ${n} '+' 1` ( ( if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then ! cline="hg clone ${pull_default}/${i} ${i}" echo "# ${cline}" ( eval "${cline}" ) else cline="hg $*" echo "# cd ${i} && ${cline}" --- 96,107 ---- echo "Starting on ${i}" n=`expr ${n} '+' 1` ( ( if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then ! pull_newrepo="`echo ${pull_default}/${i} | sed -e 's@\([^:]/\)//*@\1@g'`" ! cline="hg clone ${pull_newrepo} ${i}" echo "# ${cline}" ( eval "${cline}" ) else cline="hg $*" echo "# cd ${i} && ${cline}"
*** 119,129 **** for i in ${repos_extra} ; do echo "Starting on ${i}" n=`expr ${n} '+' 1` ( ( ! cline="hg clone ${pull_extra}/${i} ${i}" echo "# ${cline}" ( eval "${cline}" ) echo "# exit code $?" ) > ${tmp}/repo.${n} 2>&1 ; cat ${tmp}/repo.${n} ) & if [ `expr ${n} '%' ${at_a_time}` -eq 0 ] ; then --- 120,131 ---- for i in ${repos_extra} ; do echo "Starting on ${i}" n=`expr ${n} '+' 1` ( ( ! pull_newextrarepo="`echo ${pull_extra}/${i} | sed -e 's@\([^:]/\)//*@\1@g'`" ! cline="hg clone ${pull_newextrarepo} ${i}" echo "# ${cline}" ( eval "${cline}" ) echo "# exit code $?" ) > ${tmp}/repo.${n} 2>&1 ; cat ${tmp}/repo.${n} ) & if [ `expr ${n} '%' ${at_a_time}` -eq 0 ] ; then