diff -r ddbebce94665 -r 0531dff73d0b mercurial/narrowspec.py --- 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 [])