private void doUnifiedDiff(File targetFile, Url sourceURL, Url targetURL) {
    OutputStream os = null;
    try {
      os = new BufferedOutputStream(new FileOutputStream(targetFile));
      myVCS.getFactoryFromSettings().createDiffClient().unifiedDiff(Target.on(sourceURL, Revision.HEAD),
                                                                    Target.on(targetURL, Revision.HEAD), os);
    }
    catch (IOException | VcsException e) {
      LOG.info(e);
    }
    finally {
      if (os != null) {
        try {
          os.close();
        } catch (IOException e) {
          LOG.info(e);
        }
      }
    }
  }
private void doUnifiedDiff(File targetFile, Url sourceURL, Url targetURL)