e605164d1d
The svn-fe tool takes a Subversion dump file as input and produces a fast-import stream as output. This can be useful as a low-level tool in building other importers, or for debugging the vcs-svn library. make svn-fe make svn-fe.1 to test. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
16 lines
287 B
C
16 lines
287 B
C
/*
|
|
* This file is in the public domain.
|
|
* You may freely use, modify, distribute, and relicense it.
|
|
*/
|
|
|
|
#include <stdlib.h>
|
|
#include "vcs-svn/svndump.h"
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
svndump_init(NULL);
|
|
svndump_read((argc > 1) ? argv[1] : NULL);
|
|
svndump_reset();
|
|
return 0;
|
|
}
|