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

Re: [PATCH 3/3] docs/cvs-migration: mention cvsimport caveats

From
Eric S. Raymond <esr@thyrsus.com>
Date
Sep 28, 2016, 00:11 UTC
Message-ID
<20160928001108.GA9120@thyrsus.com>
In-Reply-To
<20160923035601.f5czdieouzvm3ptz@sigill.intra.peff.net>
Jeff King <peff@peff.net>:
>               I am not qualified to write on the current state of
> the art in CVS importing.

I *am* qualified; cvs-fast-export has had a lot of work put into it by myself and others over the last five years. Nobody else is really working this problem anymore, not much else than cvs2git is even left standing at this point. Most other attempts on the problem have stalled or flamed out, and were never very robust in dealing with repository malformations to begin with.

cvs2git can probably still almost match cvs-fast-export in ability to handle pathological cases, but is painfully slow by comparison. (Part of that is implementation in Python vs. C.)

cvs-fast-export has been successfully performance-tuned for very large repositories, such as the entirety of NetBSD, and is orders of magnitude faster than it used to be. (I parallelized the parsing of RCS masters with a re-entrant Bison instance running per thread; this makes a huge difference on large repositories, for which that stage dominates running time.) Its ability to recover sense from repository malformations was already pretty good five years ago and is probably unmatched now. It does .cvsignore conversion.

cvs-fast-export also now has a really good test suite collecting all kinds of weird CVS deformations from the field, and a wrapper that can both do a conversion and check for correctness at every tag as well as the tip revision.

By contrast, the wrapper/cvsps combination git ships continues to be disgracefully bad and should be scrapped - remember that I maintained cvsps for a while and tried to EOL it because its branch-resolution algorithms are unsound. I have a replacement wrapper ready any time the git maintainer decides to stop shipping broken, dangerous code.

-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
Previous: Jeff KingNext: Jeff King
Message 7 of 9 in “update git cvs import documentation”
  1. 0/3 update git cvs import documentationJeff King, Sep 22, 2016
  2. 1/3 docs/cvsimport: prefer cvs-fast-export to parsecvsJeff King, Sep 22, 2016
  3. 2/3 docs/cvs-migration: update link to cvsps homepageJeff King, Sep 22, 2016
  4. 3/3 docs/cvs-migration: mention cvsimport caveatsJeff King, Sep 22, 2016
  5. Eric S. RaymondSep 22, 2016
  6. Jeff KingSep 23, 2016
  7. Eric S. RaymondSep 28, 2016
  8. Jeff KingSep 28, 2016
  9. Junio C HamanoSep 28, 2016

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.