changeset 212 | ab5e0e4f5a0c |
parent 211 | 0cd59649772c |
child 214 | 7374d0147875 |
--- a/src/hg-ssh Fri Nov 13 12:26:08 2009 +0000 +++ b/src/hg-ssh Fri Nov 13 12:30:06 2009 +0000 @@ -81,10 +81,8 @@ fail("hg-ssh wrongly called, is authorized_keys corrupt? (%s)" % sys.argv) -# 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'] = config.getHgrcPaths() +for k,v in config.getEnv().iteritems(): + os.environ[k] = v os.chdir(config.getReposPath())