Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 29266:b3a677c82a35
debuginstall: expose modulepolicy
With this, you can check for pure easily:
$ HGMODULEPOLICY=py ./hg debuginstall -T "{hgmodulepolicy}"
py
author | timeless <timeless@mozdev.org> |
---|---|
date | Wed, 09 Mar 2016 19:55:45 +0000 |
parents | 9d0d1242cd48 |
children | 113d0b23321a |
line wrap: on
line diff
--- a/mercurial/commands.py Sat May 14 19:52:00 2016 +0900 +++ b/mercurial/commands.py Wed Mar 09 19:55:45 2016 +0000 @@ -59,6 +59,7 @@ obsolete, patch, phases, + policy, pvec, repair, revlog, @@ -2749,6 +2750,8 @@ '+'.join(hgver.split('+')[1:])) # compiled modules + fm.write('hgmodulepolicy', _("checking module policy (%s)\n"), + policy.policy) fm.write('hgmodules', _("checking installed modules (%s)...\n"), os.path.dirname(__file__))