Loading taskcluster/docker/periodic-updates/scripts/periodic_file_updates.sh +1 −12 Original line number Diff line number Diff line Loading @@ -38,7 +38,6 @@ WGET="wget -nv" UNTAR="tar -zxf" DIFF="$(command -v diff) -u" BASEDIR="${HOME}" TOOLSDIR="${HOME}/tools" SCRIPTDIR="$(realpath "$(dirname "$0")")" HG="$(command -v hg)" Loading Loading @@ -382,18 +381,11 @@ function compare_remote_settings_files { return 1 } function clone_build_tools { rm -fr "${TOOLSDIR}" CLONE_CMD="${HG} clone https://hg.mozilla.org/build/tools ${TOOLSDIR}" ${CLONE_CMD} } # Clones an hg repo function clone_repo { cd "${BASEDIR}" if [ ! -d "${REPODIR}" ]; then CLONE_CMD="${HG} clone ${HGREPO} ${REPODIR}" ${CLONE_CMD} ${HG} robustcheckout --sharebase /tmp/hg-store -b default "${HGREPO}" "${REPODIR}" fi ${HG} -R ${REPODIR} pull Loading Loading @@ -613,9 +605,6 @@ else fi fi # Currently less reliable than regular 'hg' # clone_build_tools clone_repo COMMIT_MESSAGE="No Bug, ${BRANCH} repo-update" Loading Loading
taskcluster/docker/periodic-updates/scripts/periodic_file_updates.sh +1 −12 Original line number Diff line number Diff line Loading @@ -38,7 +38,6 @@ WGET="wget -nv" UNTAR="tar -zxf" DIFF="$(command -v diff) -u" BASEDIR="${HOME}" TOOLSDIR="${HOME}/tools" SCRIPTDIR="$(realpath "$(dirname "$0")")" HG="$(command -v hg)" Loading Loading @@ -382,18 +381,11 @@ function compare_remote_settings_files { return 1 } function clone_build_tools { rm -fr "${TOOLSDIR}" CLONE_CMD="${HG} clone https://hg.mozilla.org/build/tools ${TOOLSDIR}" ${CLONE_CMD} } # Clones an hg repo function clone_repo { cd "${BASEDIR}" if [ ! -d "${REPODIR}" ]; then CLONE_CMD="${HG} clone ${HGREPO} ${REPODIR}" ${CLONE_CMD} ${HG} robustcheckout --sharebase /tmp/hg-store -b default "${HGREPO}" "${REPODIR}" fi ${HG} -R ${REPODIR} pull Loading Loading @@ -613,9 +605,6 @@ else fi fi # Currently less reliable than regular 'hg' # clone_build_tools clone_repo COMMIT_MESSAGE="No Bug, ${BRANCH} repo-update" Loading