diff -r f3033692ccef -r 7c3a59e2971b mercurial/debugcommands.py --- a/mercurial/debugcommands.py Sun Jun 10 11:50:09 2018 +0900 +++ b/mercurial/debugcommands.py Sun Jun 10 11:53:56 2018 +0900 @@ -2542,7 +2542,8 @@ """show how files match on given patterns""" opts = pycompat.byteskwargs(opts) m = scmutil.match(repo[None], pats, opts) - ui.write(('matcher: %r\n' % m)) + if ui.verbose: + ui.write(('matcher: %r\n' % m)) items = list(repo[None].walk(m)) if not items: return