mercurial/commands.py
changeset 6743 86e8187b721a
parent 6740 b148e9099133
child 6746 1dca460e7d1e
equal deleted inserted replaced
6742:2d54e7c1e69d 6743:86e8187b721a
  2478                         handle(remove, False)
  2478                         handle(remove, False)
  2479 
  2479 
  2480         if not opts.get('dry_run'):
  2480         if not opts.get('dry_run'):
  2481             def checkout(f):
  2481             def checkout(f):
  2482                 fc = ctx[f]
  2482                 fc = ctx[f]
  2483                 repo.wwrite(f, fc.data(), fc.fileflags())
  2483                 repo.wwrite(f, fc.data(), fc.flags())
  2484 
  2484 
  2485             audit_path = util.path_auditor(repo.root)
  2485             audit_path = util.path_auditor(repo.root)
  2486             for f in remove[0]:
  2486             for f in remove[0]:
  2487                 if repo.dirstate[f] == 'a':
  2487                 if repo.dirstate[f] == 'a':
  2488                     repo.dirstate.forget(f)
  2488                     repo.dirstate.forget(f)