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

Re: [GSoC] Git to SVN bridge

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Apr 23, 2012, 18:06 UTC
Message-ID
<20120423180607.GF9635@burratino>
In-Reply-To
<CALkWK0mdzWQRY=fSmyML1p7352c7Lb3vuYoJd+TXSdTmFX1teg@mail.gmail.com>
Ramkumar Ramachandra wrote:
>        I'm a little more worried about the mapper- I'm finding it hard
> to imagine a fast-import stream that contains subdirectories
> (branches/*) as opposed to head refs.  Any idea how we'll achieve
> that?

Shouldn't it be very simple? All you need is a filter that understands the fast-import syntax and can convert

	commit refs/heads/topic
	...
	M 100644 inline "foo/bar"
to
	commit toplevel
	...
	M 100644 inline "branches/topic/foo/bar"
and
	ls topic@1 "foo/bar"
to
	ls r1 "branches/topic/foo/bar"
Previous: Ramkumar Ramachandra
Message 6 of 6 in “[GSoC] Git to SVN bridge”
  1. Ramkumar RamachandraApr 6, 2012
  2. Jonathan NiederApr 18, 2012
  3. Ramkumar RamachandraApr 19, 2012
  4. Jonathan NiederApr 19, 2012
  5. Ramkumar RamachandraApr 20, 2012
  6. Jonathan NiederApr 23, 2012

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.