@Override
  public void consume(ProgressEvent event) {
    if (event.getPath() == null) {
      return;
    }
    if (event.getAction() == EventAction.UPDATE_EXTERNAL) {
      myExternalsCount++;
      progress(message("progress.text2.fetching.external.location", event.getFile().getAbsolutePath()));
    }
    else if (event.getAction() == EventAction.UPDATE_ADD) {
      progress2(myIsExport
                ? message("progress.text2.exported", event.getFile().getName(), myCnt)
                : message("progress.text2.checked.out", event.getFile().getName(), myCnt));
      ++myCnt;
    }
    else if (event.getAction() == EventAction.UPDATE_COMPLETED) {
      myExternalsCount--;
      progress2(myIsExport
                ? message("progress.text2.exported.revision", event.getRevision())
                : message("progress.text2.checked.out.revision", event.getRevision()));
      if (myExternalsCount == 0 && event.getRevision() >= 0) {
        myExternalsCount = 1;
        StatusBar.Info.set(
          myIsExport ? message("progress.text2.exported.revision", event.getRevision())
                     : message("status.text.checked.out.revision", event.getRevision()),
          myVCS.getProject()
        );
      }
    } else if (event.getAction() == EventAction.COMMIT_ADDED) {
      progress2(message("progress.text2.adding", event.getPath()));
    } else if (event.getAction() == EventAction.COMMIT_DELTA_SENT) {
      progress2(message("progress.text2.transmitting.delta", event.getPath()));
    }
  }
@Override
  public void consume(ProgressEvent event)