Mercurial > public > mercurial-scm > hg
diff mercurial/narrowspec.py @ 41676:0531dff73d0b
match: delete unused root and cwd arguments from {always,never,exact}() (API)
Differential Revision: https://phab.mercurial-scm.org/D5930
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sat, 09 Feb 2019 22:50:53 -0800 |
parents | 88a7c211b21e |
children | 770f5f586ae5 |
line wrap: on
line diff
--- a/mercurial/narrowspec.py Sun Feb 10 14:35:36 2019 -0800 +++ b/mercurial/narrowspec.py Sat Feb 09 22:50:53 2019 -0800 @@ -127,7 +127,7 @@ # Passing empty include and empty exclude to matchmod.match() # gives a matcher that matches everything, so explicitly use # the nevermatcher. - return matchmod.never(root, '') + return matchmod.never() return matchmod.match(root, '', [], include=include or [], exclude=exclude or [])