[PATCH] match: allow pats to be None
Yuya Nishihara
yuya at tcha.org
Fri Jun 9 09:27:55 EDT 2017
On Thu, 08 Jun 2017 22:29:52 -0700, Martin von Zweigbergk via Mercurial-devel wrote:
> # HG changeset patch
> # User Martin von Zweigbergk <martinvonz at google.com>
> # Date 1496985497 25200
> # Thu Jun 08 22:18:17 2017 -0700
> # Node ID 6f66d0e87e1fe4d444ccc4e2df4a2b3597a40afc
> # Parent 04c19c8082410049465e2cdc510e24801530c94b
> match: allow pats to be None
Queued, thanks.
> -def match(root, cwd, patterns, include=None, exclude=None, default='glob',
> +def match(root, cwd, patterns=None, include=None, exclude=None, default='glob',
> exact=False, auditor=None, ctx=None, listsubrepos=False, warn=None,
> badfn=None, icasefs=False):
match(root, cwd, exact=True) could have a better exception message.
More information about the Mercurial-devel
mailing list