Skip to contentSkip to conversation

Get rr/svn-fe-contrib merged

PATCH New Ramkumar Ramachandra 1 participant 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Get rr/svn-fe-contrib merged

Hi,

Thanks to Jonathan for suggesting this. This series adds a sample user for svn-fe in contrib/ along with some good documentation.

-- Ram

Jonathan Nieder (1):
Add a sample user for the svndump library

 contrib/svn-fe/.gitignore |    3 ++
 contrib/svn-fe/Makefile   |   63 ++++++++++++++++++++++++++++++++++++++++++
 contrib/svn-fe/svn-fe.c   |   15 ++++++++++
 contrib/svn-fe/svn-fe.txt |   66 +++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 147 insertions(+), 0 deletions(-)
 create mode 100644 contrib/svn-fe/.gitignore
 create mode 100644 contrib/svn-fe/Makefile
 create mode 100644 contrib/svn-fe/svn-fe.c
 create mode 100644 contrib/svn-fe/svn-fe.txt
#1 lore raw

PATCH 1/1 Add a sample user for the svndump library

From: Jonathan Nieder <[email protected]>

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.

---
 contrib/svn-fe/.gitignore |    3 ++
 contrib/svn-fe/Makefile   |   63 ++++++++++++++++++++++++++++++++++++++++++
 contrib/svn-fe/svn-fe.c   |   15 ++++++++++
 contrib/svn-fe/svn-fe.txt |   66 +++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 147 insertions(+), 0 deletions(-)
 create mode 100644 contrib/svn-fe/.gitignore
 create mode 100644 contrib/svn-fe/Makefile
 create mode 100644 contrib/svn-fe/svn-fe.c
 create mode 100644 contrib/svn-fe/svn-fe.txt
contrib/svn-fe/.gitignore new file +3 -0
new file mode 100644
index 0000000..27a33b6
@@ -0,0 +1,3 @@
+/*.xml
+/*.1
+/*.html
contrib/svn-fe/Makefile new file +63 -0

63 lines not on this page · raw message

contrib/svn-fe/svn-fe.c new file +15 -0
new file mode 100644
index 0000000..43c4320
@@ -0,0 +1,15 @@
+/*
+ * 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;
+}
contrib/svn-fe/svn-fe.txt new file +66 -0

66 lines not on this page · raw message

Signature · 1 line
1.7.1