src/hg-ssh
changeset 236 38cea4b518c1
parent 217 32b431977bf9
child 242 03d8f07230b3
equal deleted inserted replaced
234:69e0ee719a62 236:38cea4b518c1
    76 else:
    76 else:
    77     fail("hg-ssh wrongly called, is authorized_keys corrupt? (%s)" 
    77     fail("hg-ssh wrongly called, is authorized_keys corrupt? (%s)" 
    78         % sys.argv)
    78         % sys.argv)
    79 
    79 
    80 for k,v in config.getEnv():
    80 for k,v in config.getEnv():
    81     os.environ[k] = v
    81     os.environ[k.upper()] = v
    82 
    82 
    83 os.chdir(config.getReposPath())
    83 os.chdir(config.getReposPath())
    84 
    84 
    85 for f in config.getAccessPaths():
    85 for f in config.getAccessPaths():
    86     if os.path.isfile(f):
    86     if os.path.isfile(f):