comparison tests/test-extension.t @ 21937:54ff2789d75e stable

version: don't traceback if no extensions to list (issue4312)
author Matt Mackall <mpm@selenic.com>
date Wed, 23 Jul 2014 11:16:22 -0500
parents a3306b8cdc0f
children 26f7c8033bed
comparison
equal deleted inserted replaced
21936:1ce8df4b2322 21937:54ff2789d75e
746 ** Extensions loaded: throw 746 ** Extensions loaded: throw
747 747
748 Test version number support in 'hg version': 748 Test version number support in 'hg version':
749 $ echo '__version__ = (1, 2, 3)' >> throw.py 749 $ echo '__version__ = (1, 2, 3)' >> throw.py
750 $ rm -f throw.pyc throw.pyo 750 $ rm -f throw.pyc throw.pyo
751 $ hg version -v
752 Mercurial Distributed SCM (version *) (glob)
753 (see http://mercurial.selenic.com for more information)
754
755 Copyright (C) 2005-* Matt Mackall and others (glob)
756 This is free software; see the source for copying conditions. There is NO
757 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
758
759 Enabled extensions:
760
761
751 $ hg version -v --config extensions.throw=throw.py 762 $ hg version -v --config extensions.throw=throw.py
752 Mercurial Distributed SCM (version *) (glob) 763 Mercurial Distributed SCM (version *) (glob)
753 (see http://mercurial.selenic.com for more information) 764 (see http://mercurial.selenic.com for more information)
754 765
755 Copyright (C) 2005-* Matt Mackall and others (glob) 766 Copyright (C) 2005-* Matt Mackall and others (glob)