equal
deleted
inserted
replaced
18 # up access.py for everything at once without affecting local operations |
18 # up access.py for everything at once without affecting local operations |
19 |
19 |
20 HGRCPATH=/etc/mercurial-server/remote-hgrc |
20 HGRCPATH=/etc/mercurial-server/remote-hgrc |
21 export HGRCPATH |
21 export HGRCPATH |
22 |
22 |
23 # Set up this environment variable - useful for hg hooks to check. |
|
24 REMOTE_USER=$1 |
|
25 export REMOTE_USER |
|
26 |
|
27 cd repos |
23 cd repos |
28 HG_ACCESS_RULES_PATH=/etc/mercurial-server/access.conf:$(pwd)/hgadmin/access.conf |
24 HG_ACCESS_RULES_PATH=/etc/mercurial-server/access.conf:$(pwd)/hgadmin/access.conf |
29 export HG_ACCESS_RULES_PATH |
25 export HG_ACCESS_RULES_PATH |
30 exec /usr/local/lib/mercurial-server/hg-ssh |
26 exec /usr/local/lib/mercurial-server/hg-ssh $1 |