diff -r 107906bfe2c6 -r 5dd3698fad54 src/hg-ssh --- a/src/hg-ssh Tue Oct 13 18:32:26 2009 +0100 +++ b/src/hg-ssh Mon Nov 09 16:23:04 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)