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

Re: Diff format in packs

From
Jon Smirl <jonsmirl@gmail.com>
Date
Aug 1, 2006, 02:29 UTC
Message-ID
<9e4733910607311929j189eb6b9r6a804cc744290fdc@mail.gmail.com>
In-Reply-To
<46a038f90607311916k5d130f70gc0ac26eb8f15fec0@mail.gmail.com>
On 7/31/06, Martin Langhoff <martin.langhoff@gmail.com> wrote:
Show 6 quoted lines
> > would be to use cvs2svn to build the changeset database and then use
> > cvsps to simply read the changesets out of it and build the git
> > repository.
>
> Once cvs2svn has the db built, it should be easy to write a
> perl/python script that mimics the output of cvsps.

This is an efficiency problem. My strategy instead is to build the git objects for the revisions when the CVS file is initially parsed and then track the sha-1 of the object. Otherwise I end up needing to use CVS to pull each revision out after the changeseta are computed and that's a slow process since it involves 1M forks of a cvs process.

People on the Python list have been giving me some pointers on how to build the revision files efficiently. That's what I am working on right now.

-- 
Jon Smirl
jonsmirl@gmail.com
Previous: Martin LanghoffNext: Martin Langhoff
Message 10 of 13 in “Diff format in packs”
  1. Jon SmirlJul 31, 2006
  2. Jakub NarebskiJul 31, 2006
  3. Jon SmirlJul 31, 2006
  4. Shawn PearceJul 31, 2006
  5. Jon SmirlJul 31, 2006
  6. Martin LanghoffAug 1, 2006
  7. Martin LanghoffAug 1, 2006
  8. Jon SmirlAug 1, 2006
  9. Martin LanghoffAug 1, 2006
  10. Jon SmirlAug 1, 2006
  11. Martin LanghoffAug 1, 2006
  12. Johannes SchindelinAug 1, 2006
  13. Jakub NarebskiAug 1, 2006

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.