summaryrefslogtreecommitdiff
path: root/test-svn-fe.c
blob: b42ba789b176160285844e49cb834d60170d9a54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * test-svn-fe: Code to exercise the svn import lib
 */

#include "git-compat-util.h"
#include "vcs-svn/svndump.h"

int main(int argc, char *argv[])
{
	if (argc != 2)
		usage("test-svn-fe <file>");
	if (svndump_init(argv[1]))
		return 1;
	svndump_read(NULL);
	svndump_deinit();
	svndump_reset();
	return 0;
}