#!/bin/sh # Test basic extension support cat > foobar.py < file hg add file hg commit -m 'add file' echo '[extensions]' >> $HGRCPATH echo "foobar = $abspath" >> $HGRCPATH hg foo cd .. hg clone a b hg bar echo '% module/__init__.py-style' echo '[extensions]' > $HGRCPATH echo "barfoo = $barfoopath" >> $HGRCPATH cd a hg foo cd .. cat > empty.py < $HGRCPATH echo "empty = $emptypath" >> $HGRCPATH hg help empty