in src/com/intellij/vssSupport/VFSListener.java [306:334]
private void executeDelete()
{
VcsShowConfirmationOption confirmOption = host.getRemoveConfirmation();
// In the case when we need to perform "Delete" vcs action right upon
// the file's deletion, put the file into the host's cache until it
// will be analyzed by the ChangeProvider.
if( confirmOption.getValue() == VcsShowConfirmationOption.Value.DO_ACTION_SILENTLY )
{
markFileRemoval( filesDeleted, host.deletedFolders, host.deletedFiles );
}
else
if( confirmOption.getValue() == VcsShowConfirmationOption.Value.DO_NOTHING_SILENTLY )
{
markFileRemoval( filesDeleted, host.removedFolders, host.removedFiles );
}
else
{
final List<FilePath> deletedFiles = new ArrayList<>(filesDeleted);
AbstractVcsHelper helper = AbstractVcsHelper.getInstance( project );
Collection<FilePath> filesToProcess = helper.selectFilePathsToProcess( deletedFiles, VssBundle.message("title.select.files.delete"),
null, VssBundle.message("action.Vss.Delete.description") + "?",
VssBundle.message("action.Vss.Delete.Question"), confirmOption );
if( filesToProcess != null )
markFileRemoval( filesToProcess, host.deletedFolders, host.deletedFiles );
else
markFileRemoval( deletedFiles, host.removedFolders, host.removedFiles );
}
}