src/init/break-in/create-breakin-repository
author Paul Crowley <paul@lshift.net>
Thu, 19 Feb 2009 16:36:41 +0000
changeset 38 f1ee930c4ba8
parent 36 b3237aabd0fe
permissions -rwxr-xr-x
Add start of script for breaking in

#!/bin/sh

set -e

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