diff -r df63d4843581 -r 755d23a49170 mercurial/scmutil.py --- a/mercurial/scmutil.py Fri May 15 23:13:05 2015 -0400 +++ b/mercurial/scmutil.py Sat May 16 00:36:35 2015 -0400 @@ -803,7 +803,7 @@ pats = expandpats(pats or []) m = ctx.match(pats, opts.get('include'), opts.get('exclude'), - default) + default, listsubrepos=opts.get('subrepos')) def badfn(f, msg): ctx.repo().ui.warn("%s: %s\n" % (m.rel(f), msg)) m.bad = badfn