Bug 4209 - Show extension info with hg --version --verbose
Summary: Show extension info with hg --version --verbose
Status: RESOLVED FIXED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 3.0.1
Hardware: All All
: normal feature
Assignee: Bugzilla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-27 04:19 UTC by techtonik
Modified: 2014-07-25 17:26 UTC (History)
3 users (show)

See Also:
Python Version: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description techtonik 2014-03-27 04:19 UTC
Enumerating plugin/extensions and their version is a core user feature of any plugin host. It would be nice to have this for hg.

There is http://mercurial.selenic.com/wiki/VersionsExtension

The proposed approach here is similar, but no yet another command and no additional options.

$ hg --version -v
Mercurial Distributed SCM (version 2.9)
(see http://mercurial.selenic.com for more information)

Copyright (C) 2005-2014 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Extensions:
 pager            - description if provided, auto stripped to one lin...
 prompt
 rebase
 versions 0.1
Comment 1 techtonik 2014-06-10 04:51 UTC
Well, I don't mind against

$ hg version -v
Comment 3 HG Bot 2014-07-09 13:45 UTC
Fixed by http://selenic.com/repo/hg/rev/ecdbbb6e5d06
anatoly techtonik <techtonik@gmail.com>
version: show enabled extensions (issue4209)

This code is based by hg-versions extension (GPLv2)
by Markus Zapke-Gruendemann <info@keimlink.de>


http://mercurial.selenic.com/wiki/VersionsExtension

(please test the fix)