src/init/break-in/create-breakin-repository
author Paul Crowley <paul@lshift.net>
Mon, 16 Jun 2008 17:23:05 +0100
changeset 35 0ed592d0f799
parent 34 4b5ca59fe3b7
child 36 b3237aabd0fe
permissions -rwxr-xr-x
fix path references for break-in stuff

#!/bin/sh

set -e

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