mercurial/debugcommands.py
changeset 44009 e685fac56693
parent 43972 7a2c49a3cbae
child 44123 52f8b07ad2f9
--- a/mercurial/debugcommands.py	Thu Dec 12 14:28:31 2019 -0800
+++ b/mercurial/debugcommands.py	Fri Dec 06 20:40:02 2019 -0500
@@ -1171,7 +1171,7 @@
         files.update(ctx.files())
         files.update(ctx.substate)
 
-    m = ctx.matchfileset(expr)
+    m = ctx.matchfileset(repo.getcwd(), expr)
     if opts[b'show_matcher'] or (opts[b'show_matcher'] is None and ui.verbose):
         ui.writenoi18n(b'* matcher:\n', stringutil.prettyrepr(m), b'\n')
     for f in sorted(files):