--- a/src/hg-ssh Fri Oct 30 16:55:07 2009 +0000
+++ b/src/hg-ssh Mon Nov 09 12:15:09 2009 +0000
@@ -84,13 +84,11 @@
# 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.chdir('repos')
+os.environ['HGRCPATH'] = paths.getHgrcPaths()
-for f in [
- paths.getEtcPath() + "/access.conf",
- os.getcwd() + "/hgadmin/access.conf"]:
+os.chdir(paths.getReposPath())
+
+for f in paths.getAccessPaths():
if os.path.isfile(f):
ruleset.rules.readfile(f)