mercurial/debugcommands.py
changeset 38262 7c3a59e2971b
parent 38261 f3033692ccef
child 38263 dbf31732ef64
--- 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