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

Re: git fast-import/fast-export

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 6, 2010, 19:02 UTC
Message-ID
<7v3a0di87z.fsf@alter.siamese.dyndns.org>
In-Reply-To
<fabb9a1e1003060702r671b57f4m9308863f566d5fbd@mail.gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> writes:
> ;). To do this I think the best way to go forward is to implement the
> helper by hooking up a fast-import/fast-export frontend to libsvn.

Isn't fast-import designed to be used as a downstream side of a pipe that is fed by an independent program you write (and may link with libsvn)? It wouldn't care what license that data producer program is distributed under.

On the fast-export side the issue should ideally be the same. Your new program that may link with libsvn reads from the datastream that comes from the git repository via pipe as an independent process to propagate the changes to the subversion side.

You may need to have/keep additional info on commits for roundtrip, but that is between the part of your program that feeds fast-import and the other part of your program that consumes the output from fast-export. fast-import may need to be told to export mark, and you pick them up to see what commits resulted on the git side from what you fed it, and later use that information when reading from fast-export to propagate new things back to subversion side. No?

Previous: Johannes SchindelinNext: Sverre Rabbelier
Message 3 of 6 in “git fast-import/fast-export”
  1. Sverre RabbelierMar 6, 2010
  2. Johannes SchindelinMar 6, 2010
  3. Junio C HamanoMar 6, 2010
  4. Sverre RabbelierMar 6, 2010
  5. Shawn O. PearceMar 6, 2010
  6. Sverre RabbelierMar 6, 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.