mercurial/commands.py
changeset 13972 d1f4e7fd970a
parent 13970 d13913355390
child 13984 af60153b5e3b
equal deleted inserted replaced
13971:bfeaa88b875d 13972:d1f4e7fd970a
  3552         if not opts.get('dry_run'):
  3552         if not opts.get('dry_run'):
  3553             def checkout(f):
  3553             def checkout(f):
  3554                 fc = ctx[f]
  3554                 fc = ctx[f]
  3555                 repo.wwrite(f, fc.data(), fc.flags())
  3555                 repo.wwrite(f, fc.data(), fc.flags())
  3556 
  3556 
  3557             audit_path = util.path_auditor(repo.root)
  3557             audit_path = scmutil.path_auditor(repo.root)
  3558             for f in remove[0]:
  3558             for f in remove[0]:
  3559                 if repo.dirstate[f] == 'a':
  3559                 if repo.dirstate[f] == 'a':
  3560                     repo.dirstate.forget(f)
  3560                     repo.dirstate.forget(f)
  3561                     continue
  3561                     continue
  3562                 audit_path(f)
  3562                 audit_path(f)