equal
deleted
inserted
replaced
13 # this file. |
13 # this file. |
14 |
14 |
15 set -e |
15 set -e |
16 |
16 |
17 # Use a different hgrc for remote pulls - this way you can set |
17 # Use a different hgrc for remote pulls - this way you can set |
18 # up notify for everything at once without affecting local operations |
18 # up access.py for everything at once without affecting local operations |
19 # |
19 |
20 # HGRCPATH=$(pwd)/remote-hgrc |
20 HGRCPATH=$(pwd)/remote-hgrc |
21 # export HGRCPATH |
21 export HGRCPATH |
22 |
22 |
23 # Set up this environment variable - useful for hg hooks to check. |
23 # Set up this environment variable - useful for hg hooks to check. |
24 HG_ACL_USER=$1 |
24 REMOTE_USER=$1 |
25 export HG_ACL_USER |
25 export REMOTE_USER |
26 |
26 |
27 cd repos |
27 cd repos |
28 exec ../admin/hg-admin-tools/hg-ssh hgadmin/hg-ssh-access.conf "$@" |
28 HG_ACCESS_RULES_FILE=$(pwd)/hgadmin/hg-ssh-access.conf |
|
29 export HG_ACCESS_RULES_FILE |
|
30 exec ../admin/hg-admin-tools/hg-ssh |