mercurial/subrepo.py
changeset 28017 d3f1b7ee5e70
parent 27935 594bdc380aa2
child 28607 a88959ae5938
equal deleted inserted replaced
28016:a2be6f0f58fb 28017:d3f1b7ee5e70
   772         total = abstractsubrepo.archive(self, archiver, prefix, match)
   772         total = abstractsubrepo.archive(self, archiver, prefix, match)
   773         rev = self._state[1]
   773         rev = self._state[1]
   774         ctx = self._repo[rev]
   774         ctx = self._repo[rev]
   775         for subpath in ctx.substate:
   775         for subpath in ctx.substate:
   776             s = subrepo(ctx, subpath, True)
   776             s = subrepo(ctx, subpath, True)
   777             submatch = matchmod.narrowmatcher(subpath, match)
   777             submatch = matchmod.subdirmatcher(subpath, match)
   778             total += s.archive(archiver, prefix + self._path + '/', submatch)
   778             total += s.archive(archiver, prefix + self._path + '/', submatch)
   779         return total
   779         return total
   780 
   780 
   781     @annotatesubrepoerror
   781     @annotatesubrepoerror
   782     def dirty(self, ignoreupdate=False):
   782     def dirty(self, ignoreupdate=False):