All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/5] Towards a Git-to-SVN bridge
@ 2011-01-19  5:44 Ramkumar Ramachandra
  2011-01-19  5:44 ` [PATCH 1/5] date: Expose the time_to_tm function Ramkumar Ramachandra
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Ramkumar Ramachandra @ 2011-01-19  5:44 UTC (permalink / raw)
  To: Git List; +Cc: Jonathan Nieder, David Barr, Sverre Rabbelier

Hi,

There are two major changes this time around:
1. I've managed to inline the blobs in the fast-export stream. This
completely eliminates the need for persisting blobs.
2. I've also managed to produce relevant directory nodes, keeping
directory state in a new dir_cache interface. I followed Jonathan's
suggestion to keep it as a string_list for the moment. This is highly
inefficient and should improve soon- perhaps ressurect the treap we
had? Or perhaps find a simple trie implementation somewhere?
Suggestions are welcome.

Unfortunately, I've still not had the time to clean up- there's a
probably a lot of cruft, and everything "just works" for now. Next
time, I'll also try to write some tests, so we don't have to test it
by hand.

Thanks for reading.

Ramkumar Ramachandra (5):
  date: Expose the time_to_tm function
  vcs-svn: Start working on the dumpfile producer
  Build an svn-fi target in contrib/svn-fe
  fast-export: Introduce --inline-blobs
  vcs-svn: Add dir_cache for svnload

 Documentation/git-fast-export.txt |    5 +
 Makefile                          |    4 +-
 builtin/fast-export.c             |   23 +++-
 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/dir_cache.c               |   40 +++++
 vcs-svn/dir_cache.h               |   12 ++
 vcs-svn/dump_export.c             |  141 ++++++++++++++++++
 vcs-svn/dump_export.h             |   33 +++++
 vcs-svn/svnload.c                 |  286 +++++++++++++++++++++++++++++++++++++
 vcs-svn/svnload.h                 |   10 ++
 14 files changed, 617 insertions(+), 7 deletions(-)
 create mode 100644 contrib/svn-fe/svn-fi.c
 create mode 100644 contrib/svn-fe/svn-fi.txt
 create mode 100644 vcs-svn/dir_cache.c
 create mode 100644 vcs-svn/dir_cache.h
 create mode 100644 vcs-svn/dump_export.c
 create mode 100644 vcs-svn/dump_export.h
 create mode 100644 vcs-svn/svnload.c
 create mode 100644 vcs-svn/svnload.h

-- 
1.7.4.rc1.7.g2cf08.dirty

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-01-22 19:18 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-19  5:44 [RFC PATCH v2 0/5] Towards a Git-to-SVN bridge Ramkumar Ramachandra
2011-01-19  5:44 ` [PATCH 1/5] date: Expose the time_to_tm function Ramkumar Ramachandra
2011-01-19  5:44 ` [PATCH 2/5] vcs-svn: Start working on the dumpfile producer Ramkumar Ramachandra
2011-01-22  0:30   ` Junio C Hamano
2011-01-22  9:45     ` Ramkumar Ramachandra
2011-01-19  5:44 ` [PATCH 3/5] Build an svn-fi target in contrib/svn-fe Ramkumar Ramachandra
2011-01-19  5:44 ` [PATCH 4/5] fast-export: Introduce --inline-blobs Ramkumar Ramachandra
2011-01-19 19:50   ` Junio C Hamano
2011-01-19 21:48     ` Jonathan Nieder
2011-01-20  4:50       ` Ramkumar Ramachandra
2011-01-20  5:48         ` Jonathan Nieder
2011-01-20  6:28           ` Ramkumar Ramachandra
2011-01-20 13:53         ` Drew Northup
2011-01-22  9:24           ` Ramkumar Ramachandra
2011-01-22 19:18             ` Jonathan Nieder
2011-01-20  5:41     ` Jonathan Nieder
2011-01-22  0:30   ` Junio C Hamano
2011-01-19  5:44 ` [PATCH 5/5] vcs-svn: Add dir_cache for svnload Ramkumar Ramachandra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.