From: Ramkumar Ramachandra Date: Tue, 17 Aug 2010 17:02:20 GMT Subject: Re: [WIP/PATCH] Teach fast-import to print the id of each imported commit Message-ID: <20100817170216.GA14491@kytes> In-Reply-To: <20100701054849.GA14972@burratino> Hi, Jonathan Nieder writes: > For the svn importer, it would be useful to have a map from > subversion revision numbers to git commits. This is particularly > relevant because the subversion api sometimes represents as "copy > this directory from this revision", and the importer needs to be > able to access the corresponding trees. So (optionally) print > each commit id when the corresponding object is written. > > Unfortunately when each commit object is written, it is not yet > accessible to the caller. The corresponding pack index > and header are not written until the next checkpoint finishes. > > Should fast-import accept lines of the form > > M 100644 : > > and > > M 040000 : > > to allow the caller to use commits before they are accessible > through the git object database? > > Signed-off-by: Jonathan Nieder > but definitely not ready for inclusion I'm resurrecting this thread. We need to finish this feature before we can finish the dumpfilev3 support in svn-dump-fast-export. -- Ram