comparison tests/test-extension @ 4567:622d8ed78b47

extensions: load modules in module/__init__.py form. For example, convert=/path/to/convert now works.
author Brendan Cully <brendan@kublai.com>
date Wed, 13 Jun 2007 13:46:40 -0700
parents 0f9381cf9723
children c41a404ac387
comparison
equal deleted inserted replaced
4561:8044be585b91 4567:622d8ed78b47
27 27
28 commands.norepo += ' bar' 28 commands.norepo += ' bar'
29 EOF 29 EOF
30 abspath=`pwd`/foobar.py 30 abspath=`pwd`/foobar.py
31 31
32 mkdir barfoo
33 cp foobar.py barfoo/__init__.py
34 barfoopath=`pwd`/barfoo
35
32 hg init a 36 hg init a
33 cd a 37 cd a
34 echo foo > file 38 echo foo > file
35 hg add file 39 hg add file
36 hg commit -m 'add file' 40 hg commit -m 'add file'
41 45
42 cd .. 46 cd ..
43 hg clone a b 47 hg clone a b
44 48
45 hg bar 49 hg bar
50
51 echo '% module/__init__.py-style'
52 echo '[extensions]' > $HGRCPATH
53 echo "barfoo = $barfoopath" >> $HGRCPATH
54 cd a
55 hg foo