mercurial/cmdutil.py
changeset 23577 597b071a0e0d
parent 23576 70a7478c33de
child 23578 d0546e8e1def
equal deleted inserted replaced
23576:70a7478c33de 23577:597b071a0e0d
  2026 
  2026 
  2027     for subpath in sorted(wctx.substate):
  2027     for subpath in sorted(wctx.substate):
  2028         sub = wctx.sub(subpath)
  2028         sub = wctx.sub(subpath)
  2029         try:
  2029         try:
  2030             submatch = matchmod.narrowmatcher(subpath, match)
  2030             submatch = matchmod.narrowmatcher(subpath, match)
  2031             subbad, subforgot = sub.forget(ui, submatch, prefix)
  2031             subbad, subforgot = sub.forget(submatch, prefix)
  2032             bad.extend([subpath + '/' + f for f in subbad])
  2032             bad.extend([subpath + '/' + f for f in subbad])
  2033             forgot.extend([subpath + '/' + f for f in subforgot])
  2033             forgot.extend([subpath + '/' + f for f in subforgot])
  2034         except error.LookupError:
  2034         except error.LookupError:
  2035             ui.status(_("skipping missing subrepository: %s\n")
  2035             ui.status(_("skipping missing subrepository: %s\n")
  2036                            % join(subpath))
  2036                            % join(subpath))