mercurial/cmdutil.py
changeset 42297 19b95afb0c01
parent 42163 e45c6b153e51
child 42418 64ed405dd342
--- a/mercurial/cmdutil.py	Sat May 04 23:31:42 2019 -0400
+++ b/mercurial/cmdutil.py	Sat May 11 22:08:57 2019 -0400
@@ -278,8 +278,8 @@
         force = opts.get('force')
         if not force:
             vdirs = []
+            match = matchmod.badmatch(match, fail)
             match.explicitdir = vdirs.append
-            match.bad = fail
 
         status = repo.status(match=match)