void () { ProgressIndicator progress = ProgressManager.getInstance().getProgressIndicator(); if (progress != null) { progress.setText(SvnBundle.message("progress.text.loading.contents", myPath)); progress.setText2(SvnBundle.message("progress.text2.revision.information", myRevision)); } try { // TODO: Local path could also be used here Revision revision = Revision.of(myRevision); byte[] contents = SvnUtil.getFileContents(myVcs, Target.on(getUrl()), revision, revision); myDst.write(contents); } catch (VcsException | IOException e) { myException = e; } }