changeset 28017 | d3f1b7ee5e70 |
parent 27895 | 2d6a89e79b48 |
child 28197 | 2ada62388bb1 |
--- a/mercurial/scmutil.py Wed Feb 03 18:59:35 2016 +0000 +++ b/mercurial/scmutil.py Fri Feb 05 21:09:32 2016 -0800 @@ -913,7 +913,7 @@ if opts.get('subrepos') or matchessubrepo(m, subpath): sub = wctx.sub(subpath) try: - submatch = matchmod.narrowmatcher(subpath, m) + submatch = matchmod.subdirmatcher(subpath, m) if sub.addremove(submatch, prefix, opts, dry_run, similarity): ret = 1 except error.LookupError: