tests/testlib/topic_setup.sh
changeset 2045 db617700d318
parent 1901 85390446f8c1
child 2828 fa2deeb5dd03
equal deleted inserted replaced
2044:d31ad31e456b 2045:db617700d318
       
     1 #!/bin/sh
       
     2 
       
     3 # This file holds logic that is used in many tests.
       
     4 # It can be called in a test like this:
       
     5 #  $ . "$TESTDIR/testlib/topic_setup.sh"
       
     6 
       
     7 # Enable obsolete markers and enable extensions
       
     8 cat >> $HGRCPATH << EOF
       
     9 [experimental]
       
    10 evolution=createmarkers,exchange
       
    11 
       
    12 [extensions]
       
    13 rebase=
       
    14 EOF
       
    15 echo "topic=$(echo $(dirname $TESTDIR))/hgext3rd/topic" >> $HGRCPATH