--- a/hg-ssh-wrapper Wed Apr 16 13:29:20 2008 +0100
+++ b/hg-ssh-wrapper Thu Apr 17 11:55:04 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 "$@"