mercurial/debugcommands.py
changeset 37977 8ba0344f9fb1
parent 37942 32bc3815efae
child 38115 b17fa9041695
--- a/mercurial/debugcommands.py	Thu May 10 22:13:13 2018 -0400
+++ b/mercurial/debugcommands.py	Fri May 11 22:07:43 2018 -0400
@@ -837,8 +837,8 @@
         if output:
             dest.close()
 
-@command('debugextensions', cmdutil.formatteropts, [], norepo=True)
-def debugextensions(ui, **opts):
+@command('debugextensions', cmdutil.formatteropts, [], optionalrepo=True)
+def debugextensions(ui, repo, **opts):
     '''show information about active extensions'''
     opts = pycompat.byteskwargs(opts)
     exts = extensions.extensions(ui)