author Dan Minor <>
Fri, 18 Dec 2015 15:12:07 -0500
changeset 362083 2248273cff1c9789e941b14cb0a303dbfca0ff98
parent 360365 3e97c026f5f8fee5c49d10dc70fc6306f8bf2e96
permissions -rwxr-xr-x
mozreview: people besides review requesters should be able autoland (bug 1205018) r=mdoglio This removes the check for whether or not the review is mutable by the current user, which allows people other than the review requester to autoland provided they have sufficient privileges.

#!/usr/bin/env bash
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at

# This script is ran as a changegroup hook for telling mirrors to sync repos.

WHOAMI=$(id -un)
if [ "${WHOAMI}" == "hg" ]; then
    /usr/local/bin/ $(echo ${PWD/\/repo\/hg\/mozilla\/})
    sudo -u hg /usr/local/bin/ $(echo ${PWD/\/repo\/hg\/mozilla\/})