diff -r 4c98440de851 -r 538d6b198f4a hg-ssh-wrapper --- a/hg-ssh-wrapper Mon Apr 21 12:37:56 2008 +0100 +++ b/hg-ssh-wrapper Tue Apr 22 09:46:29 2008 +0100 @@ -15,14 +15,16 @@ set -e # 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 +# up access.py 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 +REMOTE_USER=$1 +export REMOTE_USER cd repos -exec ../admin/hg-admin-tools/hg-ssh hgadmin/hg-ssh-access.conf "$@" +HG_ACCESS_RULES_FILE=$(pwd)/hgadmin/hg-ssh-access.conf +export HG_ACCESS_RULES_FILE +exec ../admin/hg-admin-tools/hg-ssh