src/init/conf/hg-ssh-wrapper
changeset 39 f5055ce263c7
parent 36 b3237aabd0fe
child 50 77d97aa18f29
equal deleted inserted replaced
38:f1ee930c4ba8 39:f5055ce263c7
    22 # Set up this environment variable - useful for hg hooks to check.
    22 # Set up this environment variable - useful for hg hooks to check.
    23 REMOTE_USER=$1
    23 REMOTE_USER=$1
    24 export REMOTE_USER
    24 export REMOTE_USER
    25 
    25 
    26 cd repos
    26 cd repos
    27 HG_ACCESS_RULES_FILE=$(pwd)/hgadmin/hg-ssh-access.conf
    27 HG_ACCESS_RULES_PATH=/etc/mercurial-server/access.conf:$(pwd)/hgadmin/access.conf
    28 export HG_ACCESS_RULES_FILE
    28 export HG_ACCESS_RULES_PATH
    29 exec /usr/local/lib/mercurial-server/hg-ssh
    29 exec /usr/local/lib/mercurial-server/hg-ssh
    30 
    30