mercurial/cmdutil.py
changeset 39089 3ff9d2ec6d88
parent 39077 b5040a9cb84c
child 39090 1320df0dcaae
equal deleted inserted replaced
39088:ad88726d6982 39089:3ff9d2ec6d88
  2029         if exact or not explicitonly and f not in wctx and repo.wvfs.lexists(f):
  2029         if exact or not explicitonly and f not in wctx and repo.wvfs.lexists(f):
  2030             if cca:
  2030             if cca:
  2031                 cca(f)
  2031                 cca(f)
  2032             names.append(f)
  2032             names.append(f)
  2033             if ui.verbose or not exact:
  2033             if ui.verbose or not exact:
  2034                 ui.status(_('adding %s\n') % match.rel(f))
  2034                 ui.status(_('adding %s\n') % match.rel(f),
       
  2035                           label='addremove.added')
  2035 
  2036 
  2036     for subpath in sorted(wctx.substate):
  2037     for subpath in sorted(wctx.substate):
  2037         sub = wctx.sub(subpath)
  2038         sub = wctx.sub(subpath)
  2038         try:
  2039         try:
  2039             submatch = matchmod.subdirmatcher(subpath, match)
  2040             submatch = matchmod.subdirmatcher(subpath, match)