tests/test-requires.t
changeset 37138 ecac0006b90e
parent 34003 68bc85f46fe3
child 40229 fed5e57c8dc7
equal deleted inserted replaced
37137:6890b7e991a4 37138:ecac0006b90e
    39   >         if __name__ == module.__name__:
    39   >         if __name__ == module.__name__:
    40   >             # support specific feature locally
    40   >             # support specific feature locally
    41   >             supported |= {'featuresetup-test'}
    41   >             supported |= {'featuresetup-test'}
    42   >             return
    42   >             return
    43   > def uisetup(ui):
    43   > def uisetup(ui):
    44   >     localrepo.localrepository.featuresetupfuncs.add(featuresetup)
    44   >     localrepo.featuresetupfuncs.add(featuresetup)
    45   > EOF
    45   > EOF
    46   $ cat > supported/.hg/hgrc <<EOF
    46   $ cat > supported/.hg/hgrc <<EOF
    47   > [extensions]
    47   > [extensions]
    48   > # enable extension locally
    48   > # enable extension locally
    49   > supportlocally = $TESTTMP/supported-locally/supportlocally.py
    49   > supportlocally = $TESTTMP/supported-locally/supportlocally.py