diff tests/test-help.t @ 29895:b1ebc767563d

help: show content for explicitly disabled extension (issue5228)
author liscju <piotr.listkiewicz@gmail.com>
date Thu, 01 Sep 2016 22:06:42 +0200
parents a1092e2d70a3
children 7109d5ddeb0c
line wrap: on
line diff
--- a/tests/test-help.t	Fri Sep 02 10:18:56 2016 +0200
+++ b/tests/test-help.t	Thu Sep 01 22:06:42 2016 +0200
@@ -1624,6 +1624,17 @@
   > ambiguous = !
   > EOF
 
+Show help content of disabled extensions
+
+  $ cat >> $HGRCPATH <<EOF
+  > [extensions]
+  > ambiguous = !./ambiguous.py
+  > EOF
+  $ hg help -e ambiguous
+  ambiguous extension - (no help text available)
+  
+  (use "hg help extensions" for information on enabling extensions)
+
 Test dynamic list of merge tools only shows up once
   $ hg help merge-tools
   Merge Tools