#!/bin/sh set -e cd mkdir -p repos/hgadmin .ssh cd repos/hgadmin hg init . cp /usr/local/lib/hg-admin-tools/hgadmin-hgrc .hg/hgrc