diff -r 70ac1868b707 -r 3ec8351fa6ed mercurial/subrepo.py --- a/mercurial/subrepo.py Tue Jun 16 23:03:36 2015 -0400 +++ b/mercurial/subrepo.py Tue Jun 16 23:06:57 2015 -0400 @@ -762,7 +762,7 @@ rev = self._state[1] ctx = self._repo[rev] for subpath in ctx.substate: - s = subrepo(ctx, subpath) + s = subrepo(ctx, subpath, True) submatch = matchmod.narrowmatcher(subpath, match) total += s.archive(archiver, prefix + self._path + '/', submatch) return total