mercurial/cmdutil.py
changeset 23576 70a7478c33de
parent 23537 f1b06a8aad42
child 23577 597b071a0e0d
equal deleted inserted replaced
23575:a2f139d25845 23576:70a7478c33de
  2180     for subpath in sorted(ctx.substate):
  2180     for subpath in sorted(ctx.substate):
  2181         sub = ctx.sub(subpath)
  2181         sub = ctx.sub(subpath)
  2182         try:
  2182         try:
  2183             submatch = matchmod.narrowmatcher(subpath, matcher)
  2183             submatch = matchmod.narrowmatcher(subpath, matcher)
  2184 
  2184 
  2185             if not sub.cat(ui, submatch, os.path.join(prefix, sub._path),
  2185             if not sub.cat(submatch, os.path.join(prefix, sub._path),
  2186                            **opts):
  2186                            **opts):
  2187                 err = 0
  2187                 err = 0
  2188         except error.RepoLookupError:
  2188         except error.RepoLookupError:
  2189             ui.status(_("skipping missing subrepository: %s\n")
  2189             ui.status(_("skipping missing subrepository: %s\n")
  2190                            % os.path.join(prefix, subpath))
  2190                            % os.path.join(prefix, subpath))