--- a/src/hg-ssh Fri Mar 06 12:27:16 2009 +0000
+++ b/src/hg-ssh Fri Mar 06 12:32:25 2009 +0000
@@ -73,6 +73,12 @@
remote_user = sys.argv[1]
os.environ['REMOTE_USER'] = remote_user
+# Use a different hgrc for remote pulls - this way you can set
+# up access.py for everything at once without affecting local operations
+
+os.environ['HGRCPATH'] = paths.getEtcPath() + "/remote-hgrc"
+
+
os.environ['HG_ACCESS_RULES_PATH'] = (
paths.getEtcPath() + "/access.conf" + ":" +
os.getcwd() + "/hgadmin/access.conf")