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

Re: Truncating and cleaning a imported git repositary to make it more usable

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
Mar 29, 2008, 17:51 UTC
Message-ID
<47EE81BC.4020700@alum.mit.edu>
In-Reply-To
<1206707716.9819.15.camel@malory>
Alex Bennee wrote:
> I've succeeded in porting our whole CVS repository into git (with plenty
> of swap, cvsps is very memory hungry). [...]

It sounds like you are doing a one-time conversion. If so, please consider using cvs2svn [1], which can also convert to git [2]. cvsps-based tools are known to have problems with most nontrivial CVS repositories (the contents of the output repository simply don't agree with those of the CVS original). IMO, the only reason to use a cvsps-based tool is if you really need incremental conversions *and* are willing to live with data loss.

Before you trust your new repository, please make some checks. As a minimum, make sure that the contents of each tag and branch tip revision is the same as the contents that you get if you check out of CVS. (I bet they don't!)

Michael

[1] http://cvs2svn.tigris.org [2] http://cvs2svn.tigris.org/cvs2git.html

Previous: Jeff King
Message 14 of 14 in “Truncating and cleaning a imported git repositary to make it more usable”
  1. Alex BenneeMar 28, 2008
  2. Avery PennarunMar 28, 2008
  3. Alex BenneeMar 28, 2008
  4. Alex BenneeMar 28, 2008
  5. Alex BenneeMar 28, 2008
  6. Johannes SixtMar 28, 2008
  7. Documentation: Another example for git-filter-branchAlex Bennee, Mar 28, 2008
  8. Mike HommeyMar 28, 2008
  9. Alex BenneeMar 29, 2008
  10. Jakub NarebskiMar 29, 2008
  11. Johannes SixtMar 31, 2008
  12. Jeff KingMar 28, 2008
  13. Jeff KingMar 28, 2008
  14. Michael HaggertyMar 29, 2008

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.