private static long validateRevisionNumber(long revision) throws VcsException {
    if (revision < 0) {
      throw new VcsException(message("error.wrong.committed.revision.number", revision));
    }

    return revision;
  }
private static long validateRevisionNumber(long revision)