src/hg-ssh
changeset 72 582808b47653
parent 71 1120f78f81da
child 77 8d14aac93b5d
equal deleted inserted replaced
71:1120f78f81da 72:582808b47653
    76 # Use a different hgrc for remote pulls - this way you can set
    76 # Use a different hgrc for remote pulls - this way you can set
    77 # up access.py for everything at once without affecting local operations
    77 # up access.py for everything at once without affecting local operations
    78 
    78 
    79 os.environ['HGRCPATH'] = paths.getEtcPath() + "/remote-hgrc"
    79 os.environ['HGRCPATH'] = paths.getEtcPath() + "/remote-hgrc"
    80 
    80 
       
    81 os.chdir('repos')
    81 
    82 
    82 os.environ['HG_ACCESS_RULES_PATH'] = (
    83 os.environ['HG_ACCESS_RULES_PATH'] = (
    83     paths.getEtcPath() + "/access.conf" + ":" + 
    84     paths.getEtcPath() + "/access.conf" + ":" + 
    84     os.getcwd() + "/hgadmin/access.conf")
    85     os.getcwd() + "/hgadmin/access.conf")
    85 
    86