Mercurial > hg
view tests/test-bad-extension @ 3336:e44eadc92ec4
context: check self.__dict__ instead of using hasattr
hasattr implicitly calls getattr, instantiating the field it is
checking for.
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Wed, 11 Oct 2006 13:34:12 -0700 |
parents | 01454af644b8 |
children | 96e21337dc03 |
line wrap: on
line source
#!/bin/sh echo 'syntax error' > badext.py abspath=`pwd`/badext.py echo '[extensions]' >> $HGRCPATH echo "badext = $abspath" >> $HGRCPATH hg -q help help