mercurial/cmdutil.py
changeset 33737 02a745c20121
parent 33736 86aca74a063b
parent 33649 377e8ddaebef
child 33771 96f43981c1c4
equal deleted inserted replaced
33736:86aca74a063b 33737:02a745c20121
  3537             repo.wvfs.unlinkpath(f)
  3537             repo.wvfs.unlinkpath(f)
  3538         except OSError:
  3538         except OSError:
  3539             pass
  3539             pass
  3540         repo.dirstate.remove(f)
  3540         repo.dirstate.remove(f)
  3541 
  3541 
  3542     audit_path = pathutil.pathauditor(repo.root)
  3542     audit_path = pathutil.pathauditor(repo.root, cached=True)
  3543     for f in actions['forget'][0]:
  3543     for f in actions['forget'][0]:
  3544         if interactive:
  3544         if interactive:
  3545             choice = repo.ui.promptchoice(
  3545             choice = repo.ui.promptchoice(
  3546                 _("forget added file %s (Yn)?$$ &Yes $$ &No") % f)
  3546                 _("forget added file %s (Yn)?$$ &Yes $$ &No") % f)
  3547             if choice == 0:
  3547             if choice == 0: