create-breakin-repository
author Paul Crowley <paul@lshift.net>
Thu, 05 Jun 2008 16:53:57 +0100
changeset 32 4059dbe9f26a
permissions -rwxr-xr-x
new break-in system

#!/bin/sh

set -e

hg clone -e /usr/local/lib/hg-admin-tools/ssh-replacement ssh://localhost/hgadmin
cd hgadmin
cat >> .hg/hgrc << __END__
[ui]
ssh = /usr/local/lib/hg-admin-tools/ssh-replacement
__END__
echo "cd to hgadmin, make changes and commit"