diff tests/test-extension.t @ 29850:110ed1868f86

version: factor out mapping of internal/external labels Prepares for formatter support, where translation should be disabled conditionally.
author Yuya Nishihara <yuya@tcha.org>
date Tue, 16 Aug 2016 16:09:12 +0900
parents 8540133f91a1
children 4435d4c951ec
line wrap: on
line diff
--- a/tests/test-extension.t	Tue Aug 16 16:03:09 2016 +0900
+++ b/tests/test-extension.t	Tue Aug 16 16:09:12 2016 +0900
@@ -1224,7 +1224,7 @@
     throw  external  1.2.3
   $ echo 'getversion = lambda: "1.twentythree"' >> throw.py
   $ rm -f throw.pyc throw.pyo
-  $ hg version -v --config extensions.throw=throw.py
+  $ hg version -v --config extensions.throw=throw.py --config extensions.strip=
   Mercurial Distributed SCM (version *) (glob)
   (see https://mercurial-scm.org for more information)
   
@@ -1235,6 +1235,7 @@
   Enabled extensions:
   
     throw  external  1.twentythree
+    strip  internal  
 
   $ hg version -q --config extensions.throw=throw.py
   Mercurial Distributed SCM (version *) (glob)