git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH/RFC] Add support for subversion dump format v3

From
David Barr <david.barr@cordelta.com>
Date
Oct 12, 2010, 13:40 UTC
Message-ID
<1286890845-4911-1-git-send-email-david.barr@cordelta.com>
This series follows Jonathan Nieder's svn diff applier series.

Patches 1 to 4 add the required infrastructure to fast-import. The primary feature is the addition of the cat-file command to fast-import. This allows access to objects written to the the current pack prior to a checkpoint and is critical to retrieving full-texts to drive the diff applier.

Patch 5 adds the basic parsing necessary to process the v3 format.
Patch 6 adds logic around decoding prop deltas.

Patch 7 integrates svn-fe with svn-da to decode text deltas. It was primarily authored by Jonathan but inspired by Ram and completed by myself. This is probably the most sprawling of the series and likely the heaviest target of review.

 Documentation/git-fast-import.txt |   49 +++++++++
 contrib/svn-fe/svn-fe.txt         |    6 +-
 fast-import.c                     |  147 +++++++++++++++++++++++++-
 t/t9010-svn-fe.sh                 |    6 +-
 t/t9300-fast-import.sh            |  210 +++++++++++++++++++++++++++++++++++++
 test-svn-fe.c                     |    3 +-
 vcs-svn/fast_export.c             |  187 ++++++++++++++++++++++++++++++++-
 vcs-svn/fast_export.h             |   13 ++-
 vcs-svn/repo_tree.c               |   37 +++++++-
 vcs-svn/repo_tree.h               |    3 +
 vcs-svn/svndiff.c                 |   11 +--
 vcs-svn/svndiff.h                 |    3 +-
 vcs-svn/svndump.c                 |   99 ++++++++++++++++--
 13 files changed, 739 insertions(+), 35 deletions(-)
Next: David Barr
Message 1 of 3 in “Add support for subversion dump format v3”
  1. Add support for subversion dump format v3David Barr, Oct 12, 2010
  2. 1/7 Teach fast-import to print the id of each imported commitDavid Barr, Oct 12, 2010
  3. 2/7 fast-import: Let importers retrieve the objects being writtenDavid Barr, Oct 12, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.