[RFC PATCH 0/3] Towards a Git-to-SVN bridge
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Jan 15, 2011, 06:51 UTC
- Message-ID
- <1295074272-19559-1-git-send-email-artagnon@gmail.com>
Hi,
Over the last couple of days, I've been working on a parser that converts a fast-import stream into a SVN dumpfile. So far, it's very rough and works minimally for some common fast-import commands. However, the major roadblock is persisting blobs: in this implementation, they're persisted as an array of strbufs. This is very memory-intensive and not scalable at all. With some valuable insight from Jonathan on IRC, I've decided to try re-implementing fast-export to eliminate blob marks and produce them inline instead [1].
Comments are much appreciated.
[1]: http://colabti.org/irclogger/irclogger_log/git-devel?date=2011-01-14
Ramkumar Ramachandra (3): date: Expose the time_to_tm function vcs-svn: Start working on the dumpfile producer Build an svn-fi target in contrib/svn-fe
Makefile | 2 +- cache.h | 1 + contrib/svn-fe/Makefile | 23 ++++- contrib/svn-fe/svn-fi.c | 16 +++ contrib/svn-fe/svn-fi.txt | 28 +++++ date.c | 2 +- vcs-svn/dump_export.c | 73 +++++++++++ vcs-svn/svnload.c | 294 +++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 435 insertions(+), 4 deletions(-) create mode 100644 contrib/svn-fe/svn-fi.c create mode 100644 contrib/svn-fe/svn-fi.txt create mode 100644 vcs-svn/dump_export.c create mode 100644 vcs-svn/svnload.c
-- 1.7.4.rc1.7.g2cf08.dirty