src/init/conf/hg-ssh-wrapper
changeset 71 1120f78f81da
parent 70 abb9ed8972e0
child 72 582808b47653
equal deleted inserted replaced
70:abb9ed8972e0 71:1120f78f81da
    12 # If your repository is laid out differently you may need to modify
    12 # If your repository is laid out differently you may need to modify
    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
       
    18 # up access.py for everything at once without affecting local operations
       
    19 
       
    20 HGRCPATH=/etc/mercurial-server/remote-hgrc
       
    21 export HGRCPATH
       
    22 
       
    23 cd repos
    17 cd repos
    24 exec /usr/local/lib/mercurial-server/hg-ssh $1
    18 exec /usr/local/lib/mercurial-server/hg-ssh $1