hg-ssh-wrapper
changeset 8 1efc50c61a26
parent 4 dcd195f3e52c
child 10 524b4a45ef0a
equal deleted inserted replaced
6:505d4789f91c 8:1efc50c61a26
     8 # and the contents of the specified rules file.
     8 # and the contents of the specified rules file.
     9 
     9 
    10 # If your repository is laid out differently you may need to modify this file.
    10 # If your repository is laid out differently you may need to modify this file.
    11 
    11 
    12 set -e
    12 set -e
    13 cd repos
    13 
       
    14 # Use a different hgrc for remote pulls - this way you can set
       
    15 # up notify for everything at once without affecting local operations
       
    16 # HGRCPATH=$(pwd)/remote-hgrc
       
    17 # export HGRCPATH
       
    18 
    14 # Set up this environment variable - useful for hg hooks to check.
    19 # Set up this environment variable - useful for hg hooks to check.
    15 HG_ACL_USER=$1
    20 HG_ACL_USER=$1
    16 export HG_ACL_USER
    21 export HG_ACL_USER
    17 ../admin/hg-admin-tools/hg-ssh hgadmin/hg-ssh-access.conf "$@"
    22 
       
    23 cd repos
       
    24 exec ../admin/hg-admin-tools/hg-ssh hgadmin/hg-ssh-access.conf "$@"