contrib / svn-fe / svn-fe.con commit push test: rely on &&-chaining instead of 'if bad; then echo Oops; fi' (5bd81c7)
   1/*
   2 * This file is in the public domain.
   3 * You may freely use, modify, distribute, and relicense it.
   4 */
   5
   6#include <stdlib.h>
   7#include "svndump.h"
   8
   9int main(int argc, char **argv)
  10{
  11        if (svndump_init(NULL))
  12                return 1;
  13        svndump_read((argc > 1) ? argv[1] : NULL, "refs/heads/master",
  14                        "refs/notes/svn/revs");
  15        svndump_deinit();
  16        svndump_reset();
  17        return 0;
  18}