mercurial/context.py
changeset 28017 d3f1b7ee5e70
parent 27983 b7af616ca675
child 28116 ba8257cb53e8
--- 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)