Merge branch 'js/cherry-pick-usability'
[gitweb.git] / contrib / svn-fe / svn-fe.c
index 43c4320cace0beec397ae4a05a9a8a0228fff010..35db24f5eae600a973391915ceb61c4635941aec 100644 (file)
@@ -4,12 +4,14 @@
  */
 
 #include <stdlib.h>
-#include "vcs-svn/svndump.h"
+#include "svndump.h"
 
 int main(int argc, char **argv)
 {
-       svndump_init(NULL);
+       if (svndump_init(NULL))
+               return 1;
        svndump_read((argc > 1) ? argv[1] : NULL);
+       svndump_deinit();
        svndump_reset();
        return 0;
 }