mercurial/commands.py
changeset 6760 4faaa0535ea7
parent 6750 fb42030d79d6
child 6761 cb981fc955fb
equal deleted inserted replaced
6759:9d2ab50803e9 6760:4faaa0535ea7
  2195     after, force = opts.get('after'), opts.get('force')
  2195     after, force = opts.get('after'), opts.get('force')
  2196     if not pats and not after:
  2196     if not pats and not after:
  2197         raise util.Abort(_('no files specified'))
  2197         raise util.Abort(_('no files specified'))
  2198 
  2198 
  2199     m = cmdutil.match(repo, pats, opts)
  2199     m = cmdutil.match(repo, pats, opts)
  2200     mardu = map(dict.fromkeys, repo.status(match=m))[:5]
  2200     mardu = map(dict.fromkeys, repo.status(match=m, unknown=True))[:5]
  2201     modified, added, removed, deleted, unknown = mardu
  2201     modified, added, removed, deleted, unknown = mardu
  2202 
  2202 
  2203     remove, forget = [], []
  2203     remove, forget = [], []
  2204     for abs in repo.walk(m):
  2204     for abs in repo.walk(m):
  2205 
  2205