2010-08-10 00:55:00 +02:00
|
|
|
/*
|
|
|
|
* 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>");
|
2010-11-20 01:46:06 +01:00
|
|
|
if (svndump_init(argv[1]))
|
|
|
|
return 1;
|
2010-08-10 00:55:00 +02:00
|
|
|
svndump_read(NULL);
|
|
|
|
svndump_deinit();
|
|
|
|
svndump_reset();
|
|
|
|
return 0;
|
|
|
|
}
|