diff 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
line wrap: on
line diff
--- a/tests/test-extension.t	Wed Jul 23 10:50:21 2014 -0500
+++ b/tests/test-extension.t	Wed Jul 23 11:16:22 2014 -0500
@@ -748,6 +748,17 @@
 Test version number support in 'hg version':
   $ echo '__version__ = (1, 2, 3)' >> throw.py
   $ rm -f throw.pyc throw.pyo
+  $ hg version -v
+  Mercurial Distributed SCM (version *) (glob)
+  (see http://mercurial.selenic.com for more information)
+  
+  Copyright (C) 2005-* Matt Mackall and others (glob)
+  This is free software; see the source for copying conditions. There is NO
+  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+  
+  Enabled extensions:
+  
+
   $ hg version -v --config extensions.throw=throw.py
   Mercurial Distributed SCM (version *) (glob)
   (see http://mercurial.selenic.com for more information)