diff mercurial/commands.py @ 29892:b64eaf947632

debugextensions: show ships-with-hg-core state as a separate field This is less magical than rephrasing ships-with-hg-core as internal, and we can distinguish "internal" liar. "tested with: internal" will be hidden by the next patch.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 31 Aug 2016 23:22:07 +0900
parents 31a6d5e14508
children 4c28ddda5d48
line wrap: on
line diff
--- a/mercurial/commands.py	Wed Aug 31 23:36:37 2016 +0900
+++ b/mercurial/commands.py	Wed Aug 31 23:22:07 2016 +0900
@@ -2420,6 +2420,10 @@
         fm.condwrite(ui.verbose and extsource, 'source',
                  _('  location: %s\n'), extsource or "")
 
+        if ui.verbose:
+            fm.plain(_('  bundled: %s\n') % ['no', 'yes'][isinternal])
+        fm.data(bundled=isinternal)
+
         fm.condwrite(ui.verbose and showtestedwith, 'testedwith',
                      _('  tested with: %s\n'),
                      fm.formatlist(showtestedwith, name='ver'))