diff -r a2be6f0f58fb -r d3f1b7ee5e70 mercurial/context.py --- a/mercurial/context.py Wed Feb 03 18:59:35 2016 +0000 +++ b/mercurial/context.py Fri Feb 05 21:09:32 2016 -0800 @@ -365,7 +365,7 @@ # node1 and node2 (inclusive). Thus, ctx2's substate # won't contain that subpath. The best we can do ignore it. rev2 = None - submatch = matchmod.narrowmatcher(subpath, match) + submatch = matchmod.subdirmatcher(subpath, match) s = sub.status(rev2, match=submatch, ignored=listignored, clean=listclean, unknown=listunknown, listsubrepos=True)