Hi gitsters, Ram last sent this series a couple of weeks ago[1], and it was merged to pu then as rr/svn-export. Here’s another iteration of the same for discussion, now including David Barr’s program that demonstrates the functionality. Patch 1 is not so closely related; it just modifies parse_date_toffset() to keep me a little saner while using it. Patches 2-8 are very similar to the versions Ram sent. I expanded the commit messages, took the latest code from git://github.com/barrbrain/svn-dump-fast-export where possible, and added a simple example build system so one can see the result of compiling with make vcs-svn/lib.a Probably more interesting is what the patches do not do: - they do not include any tests - they do not remove the persistent object pool functionality. If you try this code out, be sure to remove all the .bin files from the current directory after each run. - they are not guaranteed to have fewer bugs than the version Ram sent. In fact, the opposite is more likely, since the code is only lightly tested You can try it out with ; cd contrib/svn-fe ; wget http://github.com/barrbrain/svn-dump-fast-export/raw/master/test.dump ; make svn-fe ; ./svn-fe <test.dump or ; make svn-fe.1 ; man ./svn-fe.1 and go from there. Any feedback is appreciated, especially on how to make this fit better with git. I would be particularly interested in making vcs-svn/lib.a self-sufficient --- that is, would there be a simple way to pull out the required code from date.c? David Barr (5): Add memory pool library Add string-specific memory pool Add stream helper library Add infrastructure to write revisions in fast-export format Add SVN dump parser Jason Evans (1): Add treap implementation Jonathan Nieder (3): Export parse_date_basic() to convert a date string to timestamp Introduce vcs-svn lib Add a sample user for the svndump library Makefile | 12 ++- cache.h | 1 + contrib/svn-fe/.gitignore | 3 + contrib/svn-fe/Makefile | 63 +++++++++ contrib/svn-fe/svn-fe.c | 43 ++++++ contrib/svn-fe/svn-fe.txt | 56 ++++++++ date.c | 14 +- vcs-svn/LICENSE | 33 +++++ vcs-svn/fast_export.c | 75 ++++++++++ vcs-svn/fast_export.h | 14 ++ vcs-svn/line_buffer.c | 93 +++++++++++++ vcs-svn/line_buffer.h | 14 ++ vcs-svn/obj_pool.h | 80 +++++++++++ vcs-svn/repo_tree.c | 335 +++++++++++++++++++++++++++++++++++++++++++++ vcs-svn/repo_tree.h | 26 ++++ vcs-svn/string_pool.c | 114 +++++++++++++++ vcs-svn/string_pool.h | 15 ++ vcs-svn/svndump.c | 289 ++++++++++++++++++++++++++++++++++++++ vcs-svn/svndump.h | 8 + vcs-svn/trp.h | 220 +++++++++++++++++++++++++++++ vcs-svn/trp.txt | 90 ++++++++++++ 21 files changed, 1589 insertions(+), 9 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 create mode 100644 vcs-svn/LICENSE create mode 100644 vcs-svn/fast_export.c create mode 100644 vcs-svn/fast_export.h create mode 100644 vcs-svn/line_buffer.c create mode 100644 vcs-svn/line_buffer.h create mode 100644 vcs-svn/obj_pool.h create mode 100644 vcs-svn/repo_tree.c create mode 100644 vcs-svn/repo_tree.h create mode 100644 vcs-svn/string_pool.c create mode 100644 vcs-svn/string_pool.h create mode 100644 vcs-svn/svndump.c create mode 100644 vcs-svn/svndump.h create mode 100644 vcs-svn/trp.h create mode 100644 vcs-svn/trp.txt [1] http://thread.gmane.org/gmane.comp.version-control.git/148866 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html