Submitter | Denis Laxalde |
---|---|
Date | April 8, 2019, 8:23 a.m. |
Message ID | <043ca8235e56dec170c7.1554711828@steppe.logilab.fr> |
Download | mbox | patch |
Permalink | /patch/39532/ |
State | Accepted |
Headers | show |
Comments
On Mon, Apr 08, 2019 at 10:23:48AM +0200, Denis Laxalde wrote: > # HG changeset patch > # User Denis Laxalde <denis@laxalde.org> > # Date 1554567649 -7200 > # Sat Apr 06 18:20:49 2019 +0200 > # Node ID 043ca8235e56dec170c7feee51c59d4150d94a2f > # Parent a507b64705f6ce78c4ad74b45a798668d8770cb7 > match: complement documentation of match() parameters I think you meant `complete` and not `complement`. Fixed in flight. > > diff --git a/mercurial/match.py b/mercurial/match.py > --- a/mercurial/match.py > +++ b/mercurial/match.py > @@ -125,6 +125,9 @@ def match(root, cwd, patterns=None, incl > include - patterns to include (unless they are excluded) > exclude - patterns to exclude (even if they are included) > default - if a pattern in patterns has no explicit type, assume this one > + auditor - optional path auditor > + ctx - optional changecontext > + listsubrepos - if True, recurse into subrepositories > warn - optional function used for printing warnings > badfn - optional bad() callback for this matcher instead of the default > icasefs - make a matcher for wdir on case insensitive filesystems, which > _______________________________________________ > Mercurial-devel mailing list > Mercurial-devel@mercurial-scm.org > https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
Patch
diff --git a/mercurial/match.py b/mercurial/match.py --- a/mercurial/match.py +++ b/mercurial/match.py @@ -125,6 +125,9 @@ def match(root, cwd, patterns=None, incl include - patterns to include (unless they are excluded) exclude - patterns to exclude (even if they are included) default - if a pattern in patterns has no explicit type, assume this one + auditor - optional path auditor + ctx - optional changecontext + listsubrepos - if True, recurse into subrepositories warn - optional function used for printing warnings badfn - optional bad() callback for this matcher instead of the default icasefs - make a matcher for wdir on case insensitive filesystems, which