in src/net/sourceforge/transparent/actions/CheckOutAction.java [98:131]
private void performOnFile(final Project project,
VirtualFile file,
String comment,
List<VcsException> errors,
ProgressIndicator indicator) {
if (indicator != null) {
indicator.checkCanceled();
final VirtualFile parent = file.getParent();
indicator.setText("Processing: " + file.getName() + " (" + (parent == null ? file.getPath() : parent.getPath()) + ')');
indicator.setText2("Processed: " + cnt + " files");
++cnt;
}
if (isEnabled(file, project)) {
VcsDirtyScopeManager mgr = VcsDirtyScopeManager.getInstance(project);
try {
perform(file, comment, project);
mgr.fileDirty(file);
}
catch (VcsException ex) {
if (!isIgnorableMessage(ex.getMessage())) {
ex.setVirtualFile(file);
errors.add(ex);
}
}
catch (RuntimeException ex) {
if (!isIgnorableMessage(ex.getMessage())) {
VcsException vcsEx = new VcsException(ex);
vcsEx.setVirtualFile(file);
errors.add(vcsEx);
}
}
executeRecursively(project, file, comment, errors, indicator);
}
}