login
Header Space

 
 

Re: Questions about git-fast-import for cvs2svn

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: Michael Haggerty <mhagger@...>, <git@...>
Date: Monday, July 16, 2007 - 2:19 am

Linus Torvalds <torvalds@linux-foundation.org> wrote:

It could, but I'm not sure I want to implement it.  ;-)

I pretty much view source->Git translation as the business/policy
of the frontend, not of fast-import.  But we have three frontends
that all share the same file format (git-cvsimport, git-svnimport,
git-svn), and are all independent implementations.  Maybe pushing
it down into a tool like fast-import would benefit a lot of users,
and thus should be done.

I'll put it on my todo list.  Which is much longer than I have
time for.
 

Linus is completely correct here.  The only requirement on data
ordering is that all parent commits (from/merge lines) must
come before any child that depends on them.  But that's a pretty
reasonable request, as almost all VCS systems want data to come in
at least that order, if not something even more strict.

In theory marks could be used to stub in commits and let you feed
them out of order, but to make that work fast-import would need to
buffer them until it saw everything it needed to produce a SHA-1.
Not exactly a good idea.

-- 
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Questions about git-fast-import for cvs2svn, Michael Haggerty, (Sun Jul 15, 10:11 am)
Re: Questions about git-fast-import for cvs2svn, Robin Rosenberg, (Sun Jul 15, 5:56 pm)
Re: Questions about git-fast-import for cvs2svn, Robin H. Johnson, (Sun Jul 15, 7:21 pm)
Re: Questions about git-fast-import for cvs2svn, Linus Torvalds, (Sun Jul 15, 2:43 pm)
Re: Questions about git-fast-import for cvs2svn, Shawn O. Pearce, (Mon Jul 16, 2:19 am)
Re: Questions about git-fast-import for cvs2svn, Junio C Hamano, (Sun Jul 15, 2:55 pm)
Re: Questions about git-fast-import for cvs2svn, Eric Wong, (Sun Jul 15, 11:35 pm)
Re: Questions about git-fast-import for cvs2svn, Steffen Prohaska, (Sun Jul 15, 2:51 pm)
Re: Questions about git-fast-import for cvs2svn, Steffen Prohaska, (Sun Jul 15, 2:58 pm)
speck-geostationary