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

Re: [RFC PATCH 3/3] Support fetching from foreign VCSes

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Jan 12, 2009, 19:38 UTC
Message-ID
<alpine.LNX.1.00.0901121413040.19665@iabervon.org>
In-Reply-To
<alpine.DEB.1.00.0901122007070.3586@pacific.mpi-cbg.de>
On Mon, 12 Jan 2009, Johannes Schindelin wrote:
Show 15 quoted lines
> Hi,
> 
> On Mon, 12 Jan 2009, Daniel Barkalow wrote:
> 
> > Maybe fast-import should be able to run with a bi-directional connection 
> > to its input, so it can acknowledge checkpoints?
> 
> Whoa.
> 
> fast-import was first and foremost a very simple way to get stuff done.  
> Is it absolutely necessary to complicate that?
> 
> I mean, I don't know about git-svn, but shouldn't it be 
> relatively easy to use fast-import to import from Subversion once the 
> information is extracted from Subversion?

I assume that git-svn's problem is that it would need to store too much of the information (rather than being able to discard it) if it couldn't get the information back from the git object database.

Actually, I think it might be actually simplify programs using fast-import if they could ask it for data from before, and I think that would have to be necessary in order to have a reasonable non-git-specific incremental importer without duplicating the storage of a lot of information that previously went into fast-import.

I know I found it helpful in my p4 one to be able to pick up the incremental state by looking at what refs exist and the information in commits they point to, rather than trying to get the information from the perforce client state or custom storage.

	-Daniel
*This .sig left intentionally blank*
Previous: Johannes SchindelinNext: Johan Herland
Message 7 of 9 in “Support fetching from foreign VCSes”
  1. 3/3 Support fetching from foreign VCSesDaniel Barkalow, Jan 11, 2009
  2. Junio C HamanoJan 12, 2009
  3. Daniel BarkalowJan 12, 2009
  4. Shawn O. PearceJan 12, 2009
  5. Daniel BarkalowJan 12, 2009
  6. Johannes SchindelinJan 12, 2009
  7. Daniel BarkalowJan 12, 2009
  8. Johan HerlandFeb 1, 2009
  9. Daniel BarkalowFeb 1, 2009

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.