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

Re: cvs2git migration - cloning CVS repository

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
Feb 3, 2009, 12:45 UTC
Message-ID
<49883C52.3060102@alum.mit.edu>
In-Reply-To
<286817520902020624y7f4c2942l34fafc0fe0fa0b48@mail.gmail.com>
Rostislav Svoboda wrote:
Show 5 quoted lines
> I'd like to clone a CVS repository to a local machine in order to
> prepare it for a migration to git. I tried:
> 
> $git cvsimport -p x -v -d
> [...]

If your goal is a high-quality one-time conversion from CVS to git, then you would be better off getting a filesystem copy of the CVS repository then converting with cvs2git [1]. "git cvsimport" does not convert a CVS repository faithfully to git, though it might barely be adequate if you absolutely need to keep git and CVS in sync.

If you do not have filesystem access to your CVS repository, you might be able to clone it using CVSSuck [2,3].

Michael the cvs2svn/cvs2git maintainer

[1] http://cvs2svn.tigris.org/cvs2git.html [2] http://cvs.m17n.org/~akr/cvssuck/ [3] http://cvs2svn.tigris.org/faq.html#repoaccess

Previous: Rostislav SvobodaNext: Johannes Schindelin
Message 2 of 7 in “cvs2git migration - cloning CVS repository”
  1. Rostislav SvobodaFeb 2, 2009
  2. Michael HaggertyFeb 3, 2009
  3. Johannes SchindelinFeb 3, 2009
  4. Michael HaggertyFeb 3, 2009
  5. Christian MICHONFeb 3, 2009
  6. Johannes SchindelinFeb 3, 2009
  7. Rostislav SvobodaFeb 2, 2009

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.