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

Re: git-cvsimport doesn't quite work, wrt branches

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Jun 13, 2006, 22:55 UTC
Message-ID
<46a038f90606131555m7b1fa744g9770140c87598b7b@mail.gmail.com>
In-Reply-To
<1150224411.20536.79.camel@neko.keithp.com>
On 6/14/06, Keith Packard <keithp@keithp.com> wrote:
Show 5 quoted lines
> cvs rlog is designed to 'represent' the history of the repository to
> users. Cvsps was built as a software analysis tool, and is used by
> putative software engineering researchers. Basing a supposedly lossless
> repository conversion system on this pair seems foolish to me,
> notwithstanding the heroic efforts to make it work.

Yes, cvsps is relying on the wrong things. I am looking at parsecvs and the cvs2svn tool and wondering where to from here.

In terms of history parsing, parsecvs and cvs2svn are similar. I like cvs2svn "many passes" approach better, though the Python source is really messy. A good thing about cvs2svn is that it is a lot more conservative WRT memory use.

So far, I have been relying on parsecvs for initial imports, and for cvsps+git-cvsimport for incrementals on top of that initial import. But parsecvs falls over with large repos.

I am starting to look at what I can do with cvs2svn to get the import into git. It seems to get very good patchsets, and it yields an easily readable DB. I'll either learn Python, or read the DB from Perl (probably from git-cvsimport).

The main problem, however, is that it doesn't do incremental imports, so this would be a roundabout way of fixing parsecvs's memory-bound-ness. We still need cvsps :(

martin
Previous: Keith PackardNext: Keith Packard
Message 5 of 10 in “git-cvsimport doesn't quite work, wrt branches”
  1. Jim MeyeringJun 13, 2006
  2. Jakub NarebskiJun 13, 2006
  3. Linus TorvaldsJun 13, 2006
  4. Keith PackardJun 13, 2006
  5. Martin LanghoffJun 13, 2006
  6. Keith PackardJun 13, 2006
  7. Martin LanghoffJun 14, 2006
  8. sfJun 14, 2006
  9. Yann DirsonJun 15, 2006
  10. Yann DirsonJun 13, 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.