Mercurial > hg-stable
diff tests/test-extension.t @ 27152:ac27b1b3be85
help: make help deprecated mention the extension
before this, you got an empty list of extensions, which was unhelpful
author | timeless <timeless@mozdev.org> |
---|---|
date | Mon, 30 Nov 2015 20:45:07 +0000 |
parents | 060f83d219b9 |
children | 28c1aa12f5de |
line wrap: on
line diff
--- a/tests/test-extension.t Mon Nov 30 20:44:22 2015 +0000 +++ b/tests/test-extension.t Mon Nov 30 20:45:07 2015 +0000 @@ -367,6 +367,15 @@ $ echo 'debugextension = !' >> $HGRCPATH +Asking for help about a deprecated extension should do something useful: + + $ hg help glog + 'glog' is provided by the following extension: + + graphlog command to view revision graphs from a shell (DEPRECATED) + + (use "hg help extensions" for information on enabling extensions) + Extension module help vs command help: $ echo 'extdiff =' >> $HGRCPATH