David Barr | 21746aa | 2010-08-09 17:55:00 -0500 | [diff] [blame] | 1 | /* |
2 | * test-svn-fe: Code to exercise the svn import lib | ||||
3 | */ | ||||
4 | |||||
5 | #include "git-compat-util.h" | ||||
6 | #include "vcs-svn/svndump.h" | ||||
7 | |||||
8 | int main(int argc, char *argv[]) | ||||
9 | { | ||||
10 | if (argc != 2) | ||||
11 | usage("test-svn-fe <file>"); | ||||
Jonathan Nieder | 5c28a8b | 2010-11-19 18:46:06 -0600 | [diff] [blame] | 12 | if (svndump_init(argv[1])) |
13 | return 1; | ||||
David Barr | 21746aa | 2010-08-09 17:55:00 -0500 | [diff] [blame] | 14 | svndump_read(NULL); |
15 | svndump_deinit(); | ||||
16 | svndump_reset(); | ||||
17 | return 0; | ||||
18 | } |