equal
deleted
inserted
replaced
71 % sys.argv) |
71 % sys.argv) |
72 |
72 |
73 remote_user = sys.argv[1] |
73 remote_user = sys.argv[1] |
74 os.environ['REMOTE_USER'] = remote_user |
74 os.environ['REMOTE_USER'] = remote_user |
75 |
75 |
|
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 |
|
78 |
|
79 os.environ['HGRCPATH'] = paths.getEtcPath() + "/remote-hgrc" |
|
80 |
|
81 |
76 os.environ['HG_ACCESS_RULES_PATH'] = ( |
82 os.environ['HG_ACCESS_RULES_PATH'] = ( |
77 paths.getEtcPath() + "/access.conf" + ":" + |
83 paths.getEtcPath() + "/access.conf" + ":" + |
78 os.getcwd() + "/hgadmin/access.conf") |
84 os.getcwd() + "/hgadmin/access.conf") |
79 |
85 |
80 rules = ruleset.rules_from_env() |
86 rules = ruleset.rules_from_env() |