hg_require_single_head
author Ben Hearsum <bhearsum@mozilla.com>
Fri, 02 May 2014 10:40:49 -0700
changeset 187 6a34259d022e4d301b7b962b997dd095ff1eef44
parent 40 24e64cfbf4fa5747d7d9cf9c9195239801716b7d
permissions -rwxr-xr-x
bug 1005170: remove jhopkins and mihai from releng whitelist. r=dustin

#!/bin/sh

if test $(hg heads -t --template 'Test_Head\n' | grep -c "^Test_Head") != "1"; then
    printf "You may not push multiple heads to this repository.\n" 1>&2;
    exit 1;
fi