diff -r 73731fa8d1bd -r 899b4c74209c mercurial/minifileset.py --- 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':