Submitter | phabricator |
---|---|
Date | July 23, 2019, 7:40 p.m. |
Message ID | <differential-rev-PHID-DREV-ulasx7qwogb4qzxwqrex-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/41028/ |
State | Superseded |
Headers | show |
Comments
This revision is now accepted and ready to land. pulkit added a comment. pulkit accepted this revision. Maybe worth to add about this in relnotes for 5.2 REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6681/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6681 To: durin42, #hg-reviewers, pulkit Cc: pulkit, mercurial-devel
Patch
diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py --- a/mercurial/debugcommands.py +++ b/mercurial/debugcommands.py @@ -1383,6 +1383,11 @@ fm.condwrite(err, 'usernameerror', _("checking username...\n %s\n" " (specify a username in your configuration file)\n"), err) + for name, mod in extensions.extensions(): + handler = getattr(mod, 'debuginstall', None) + if handler is not None: + problems += handler(ui, fm) + fm.condwrite(not problems, '', _("no problems detected\n")) if not problems: