void (@NotNull WCInfo info) { int result = Messages.showOkCancelDialog(myProject, message("dialog.message.set.working.copy.infinity.depth", info.getPath()), message("dialog.title.set.working.copy.infinity.depth"), Messages.getWarningIcon()); if (result == Messages.OK) { // update of view will be triggered by roots changed event SvnCheckoutProvider.checkout(myProject, new File(info.getPath()), info.getUrl(), Revision.HEAD, Depth.INFINITY, false, null, info.getFormat()); } }