Mercurial > public > mercurial-scm > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
29265:3f9e68864ccc | 29266:b3a677c82a35 |
---|---|
57 merge as mergemod, | 57 merge as mergemod, |
58 minirst, | 58 minirst, |
59 obsolete, | 59 obsolete, |
60 patch, | 60 patch, |
61 phases, | 61 phases, |
62 policy, | |
62 pvec, | 63 pvec, |
63 repair, | 64 repair, |
64 revlog, | 65 revlog, |
65 revset, | 66 revset, |
66 scmutil, | 67 scmutil, |
2747 hgver.split('+')[0]) | 2748 hgver.split('+')[0]) |
2748 fm.write('hgverextra', _("checking Mercurial custom build (%s)\n"), | 2749 fm.write('hgverextra', _("checking Mercurial custom build (%s)\n"), |
2749 '+'.join(hgver.split('+')[1:])) | 2750 '+'.join(hgver.split('+')[1:])) |
2750 | 2751 |
2751 # compiled modules | 2752 # compiled modules |
2753 fm.write('hgmodulepolicy', _("checking module policy (%s)\n"), | |
2754 policy.policy) | |
2752 fm.write('hgmodules', _("checking installed modules (%s)...\n"), | 2755 fm.write('hgmodules', _("checking installed modules (%s)...\n"), |
2753 os.path.dirname(__file__)) | 2756 os.path.dirname(__file__)) |
2754 | 2757 |
2755 err = None | 2758 err = None |
2756 try: | 2759 try: |