diff -r e178b131906a -r ddbebce94665 mercurial/sparse.py --- a/mercurial/sparse.py Sun Feb 10 21:33:21 2019 -0800 +++ b/mercurial/sparse.py Sun Feb 10 14:35:36 2019 -0800 @@ -264,7 +264,7 @@ """Returns a matcher that returns true for any of the forced includes before testing against the actual matcher.""" kindpats = [('path', include, '') for include in includes] - includematcher = matchmod.includematcher('', '', kindpats) + includematcher = matchmod.includematcher('', kindpats) return matchmod.unionmatcher([includematcher, matcher]) def matcher(repo, revs=None, includetemp=True):