changeset 38865 | 899b4c74209c |
parent 38829 | 7e7e2b2ff284 |
child 38879 | e79a69af1593 |
--- a/mercurial/minifileset.py Sat Jul 21 17:13:34 2018 +0900 +++ b/mercurial/minifileset.py Sat Jul 21 17:19:12 2018 +0900 @@ -40,7 +40,7 @@ return f raise error.ParseError(_("unsupported file pattern: %s") % name, hint=_('paths must be prefixed with "path:"')) - elif op == 'or': + elif op in {'or', 'patterns'}: funcs = [_compile(x) for x in tree[1:]] return lambda n, s: any(f(n, s) for f in funcs) elif op == 'and':