--- a/src/init/conf/hg-ssh-wrapper Fri Mar 06 09:22:33 2009 +0000
+++ b/src/init/conf/hg-ssh-wrapper Fri Mar 06 12:13:58 2009 +0000
@@ -20,11 +20,7 @@
HGRCPATH=/etc/mercurial-server/remote-hgrc
export HGRCPATH
-# Set up this environment variable - useful for hg hooks to check.
-REMOTE_USER=$1
-export REMOTE_USER
-
cd repos
HG_ACCESS_RULES_PATH=/etc/mercurial-server/access.conf:$(pwd)/hgadmin/access.conf
export HG_ACCESS_RULES_PATH
-exec /usr/local/lib/mercurial-server/hg-ssh
+exec /usr/local/lib/mercurial-server/hg-ssh $1