private long[] run(@NotNull File path, @NotNull List<String> parameters, @NotNull SvnCommandName command) throws SvnBindException {
    File base = path.isDirectory() ? path : path.getParentFile();

    final AtomicReference<long[]> updatedToRevision = new AtomicReference<>();
    updatedToRevision.set(new long[0]);

    final BaseUpdateCommandListener listener = createCommandListener(new File[]{path}, updatedToRevision, base);
    execute(myVcs, Target.on(base), command, parameters, listener);

    listener.throwWrappedIfException();

    return updatedToRevision.get();
  }
private long[] run(@NotNull File path, @NotNull List<String> parameters, @NotNull SvnCommandName command)