From: Jon Smirl Date: Mon, 31 Jul 2006 21:20:55 GMT Subject: Re: Diff format in packs Message-ID: <9e4733910607311420n8537b76lbde4d60062195403@mail.gmail.com> In-Reply-To: On 7/31/06, Jakub Narebski wrote: > Jon Smirl wrote: > > > I'm trying to build a small app that takes a CVS ,v and writes out a > > pack corresponding to the versions. Suggestions on the most efficient > > strategy for doing this by calling straight into the git C code? > > Forking off git commands is not very efficient when done a million > > times. > > Something akin to parsecvs by Keith Packard? I see the error in my thoughts now, I need the fully expanded delta to compute the sha-1 so I might as well use the parsecvs code. I am working on combining cvs2svn, parsecvs and cvsps into something that can handle Mozilla CVS. -- Jon Smirl jonsmirl@gmail.com