Mercurial > hg
view tests/test-help @ 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 | 01215ad04283 |
children | 9ed13f718e53 |
line wrap: on
line source
#!/bin/sh hg hg -q hg help hg -q help hg add -h hg add --skjdfks hg help diff hg help status hg -q help status hg help foo hg skjdfks exit 0