diff options
author | David Barr <david.barr@cordelta.com> | 2010-08-09 17:55:00 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-14 19:35:38 -0700 |
commit | 21746aa34fc99d2c73634bc9829387c27c109dbe (patch) | |
tree | b29044890c890a830b179c20f363d3c7c9e2a531 /contrib/svn-fe | |
parent | Infrastructure to write revisions in fast-export format (diff) | |
download | tgif-21746aa34fc99d2c73634bc9829387c27c109dbe.tar.xz |
SVN dump parser
svndump parses data that is in SVN dumpfile format produced by
`svnadmin dump` with the help of line_buffer and uses repo_tree and
fast_export to emit a git fast-import stream.
Based roughly on com.hydrografix.svndump 0.92 from the SvnToCCase
project at <http://svn2cc.sarovar.org/>, by Stefan Hegny and
others.
[rr: allow input from files other than stdin]
[jn: with test, more error reporting]
Signed-off-by: David Barr <david.barr@cordelta.com>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/svn-fe')
-rw-r--r-- | contrib/svn-fe/svn-fe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/svn-fe/svn-fe.c b/contrib/svn-fe/svn-fe.c index e9b9ba4da4..a2677b03e0 100644 --- a/contrib/svn-fe/svn-fe.c +++ b/contrib/svn-fe/svn-fe.c @@ -10,6 +10,7 @@ int main(int argc, char **argv) { svndump_init(NULL); svndump_read((argc > 1) ? argv[1] : NULL); + svndump_deinit(); svndump_reset(); return 0; } |