# HG changeset patch # User Paul Crowley # Date 1208429670 -3600 # Node ID 1efc50c61a26078f74f0f2703cc487624ead8c1e # Parent 505d4789f91c965ac0018554444b20f1ebec250c improve hg-ssh-wrapper, suggest HGRCPATH trick diff -r 505d4789f91c -r 1efc50c61a26 hg-ssh-wrapper --- a/hg-ssh-wrapper Wed Apr 16 13:25:55 2008 +0100 +++ b/hg-ssh-wrapper Thu Apr 17 11:54:30 2008 +0100 @@ -10,8 +10,15 @@ # If your repository is laid out differently you may need to modify this file. set -e -cd repos + +# Use a different hgrc for remote pulls - this way you can set +# up notify for everything at once without affecting local operations +# HGRCPATH=$(pwd)/remote-hgrc +# export HGRCPATH + # Set up this environment variable - useful for hg hooks to check. HG_ACL_USER=$1 export HG_ACL_USER -../admin/hg-admin-tools/hg-ssh hgadmin/hg-ssh-access.conf "$@" + +cd repos +exec ../admin/hg-admin-tools/hg-ssh hgadmin/hg-ssh-access.conf "$@"