mercurial/cmdutil.py
branchstable
changeset 24857 d8505bfe4825
parent 24845 8133494accf1
child 24864 bff42a92012e
equal deleted inserted replaced
24856:5c1364b7e5ac 24857:d8505bfe4825
  3082     audit_path = pathutil.pathauditor(repo.root)
  3082     audit_path = pathutil.pathauditor(repo.root)
  3083     for f in actions['forget'][0]:
  3083     for f in actions['forget'][0]:
  3084         repo.dirstate.drop(f)
  3084         repo.dirstate.drop(f)
  3085     for f in actions['remove'][0]:
  3085     for f in actions['remove'][0]:
  3086         audit_path(f)
  3086         audit_path(f)
  3087         util.unlinkpath(repo.wjoin(f))
  3087         try:
       
  3088             util.unlinkpath(repo.wjoin(f))
       
  3089         except OSError:
       
  3090             pass
  3088         repo.dirstate.remove(f)
  3091         repo.dirstate.remove(f)
  3089     for f in actions['drop'][0]:
  3092     for f in actions['drop'][0]:
  3090         audit_path(f)
  3093         audit_path(f)
  3091         repo.dirstate.remove(f)
  3094         repo.dirstate.remove(f)
  3092 
  3095