summaryrefslogtreecommitdiff
path: root/vcs-svn/svndump.h
diff options
context:
space:
mode:
authorDavid Barr <david.barr@cordelta.com>2010-08-09 22:55:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-08-15 02:35:38 (GMT)
commit21746aa34fc99d2c73634bc9829387c27c109dbe (patch)
treeb29044890c890a830b179c20f363d3c7c9e2a531 /vcs-svn/svndump.h
parentc0e6c23dca84227167a6fe1077503ddf32208919 (diff)
downloadgit-21746aa34fc99d2c73634bc9829387c27c109dbe.zip
git-21746aa34fc99d2c73634bc9829387c27c109dbe.tar.gz
git-21746aa34fc99d2c73634bc9829387c27c109dbe.tar.bz2
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 'vcs-svn/svndump.h')
-rw-r--r--vcs-svn/svndump.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/vcs-svn/svndump.h b/vcs-svn/svndump.h
new file mode 100644
index 0000000..93c412f
--- /dev/null
+++ b/vcs-svn/svndump.h
@@ -0,0 +1,9 @@
+#ifndef SVNDUMP_H_
+#define SVNDUMP_H_
+
+void svndump_init(const char *filename);
+void svndump_read(const char *url);
+void svndump_deinit(void);
+void svndump_reset(void);
+
+#endif