Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/debugcommands.py @ 38021:8ba0344f9fb1
debugextensions: process extensions loaded from the local repository too
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 11 May 2018 22:07:43 -0400 |
parents | 32bc3815efae |
children | b17fa9041695 |
comparison
equal
deleted
inserted
replaced
38020:20a4543e9a2b | 38021:8ba0344f9fb1 |
---|---|
835 data = fh.read(_chunksize) | 835 data = fh.read(_chunksize) |
836 finally: | 836 finally: |
837 if output: | 837 if output: |
838 dest.close() | 838 dest.close() |
839 | 839 |
840 @command('debugextensions', cmdutil.formatteropts, [], norepo=True) | 840 @command('debugextensions', cmdutil.formatteropts, [], optionalrepo=True) |
841 def debugextensions(ui, **opts): | 841 def debugextensions(ui, repo, **opts): |
842 '''show information about active extensions''' | 842 '''show information about active extensions''' |
843 opts = pycompat.byteskwargs(opts) | 843 opts = pycompat.byteskwargs(opts) |
844 exts = extensions.extensions(ui) | 844 exts = extensions.extensions(ui) |
845 hgver = util.version() | 845 hgver = util.version() |
846 fm = ui.formatter('debugextensions', opts) | 846 fm = ui.formatter('debugextensions', opts) |