hg-ssh-wrapper
changeset 18 538d6b198f4a
parent 10 524b4a45ef0a
child 31 d54720d47ca2
--- 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