src/init/break-in/ssh-replacement
author Paul Crowley <paul@lshift.net>
Mon, 16 Jun 2008 17:24:53 +0100
changeset 36 b3237aabd0fe
parent 35 0ed592d0f799
permissions -rwxr-xr-x
Change the name to mercurial-server

#!/bin/sh
# Used only for break-ins

echo "arg: $2" >&2

exec sudo -H -u hg /usr/local/lib/mercurial-server/init/break-in/as-if-by-ssh "$2"