qsync-enable.sh
changeset 159 6ff373346dd4
child 190 f111e19b763f
equal deleted inserted replaced
158:3cdf8291fd97 159:6ff373346dd4
       
     1 #!/bin/sh
       
     2 
       
     3 here=`readlink -f "$0"`
       
     4 repo_root=`dirname "$here"`
       
     5 
       
     6 
       
     7 
       
     8 cat << EOF >&2
       
     9 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
       
    10 XXX Add lines below to the [extensions] section of you hgrc XXX
       
    11 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
       
    12 
       
    13 
       
    14 EOF
       
    15 
       
    16 cat << EOF | sed -e "s#XXXREPOPATHXXX#${repo_root}#"
       
    17 [extensions]
       
    18 # experimental extensions for mq export
       
    19 obsolete=XXXREPOPATHXXX/hgext/qsync.py
       
    20 EOF