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

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

From
Ssf <sf@b-i-t.de>
Date
Jun 14, 2006, 09:37 UTC
Message-ID
<448FD8E4.9040208@b-i-t.de>
In-Reply-To
<46a038f90606131555m7b1fa744g9770140c87598b7b@mail.gmail.com>

Martin Langhoff wrote: ...

> Yes, cvsps is relying on the wrong things. I am looking at parsecvs
> and the cvs2svn tool and wondering where to from here.
...
> 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).

SVN has a portable format called "dumpfile" (see http://svn.collab.net/repos/svn/trunk/notes/fs_dumprestore.txt) which is produced by "svnadmin dump ..." and "cvs2svn --dump-only ...".

Why not use it as input for importing into git?
Pros:
- "svnadmin dump" should be fast
- svn repositories can be tracked with "svnadmin dump" (just remember
the last imported revision and restart from there)
- cvs2svn seems to be very good at its job
- only one tool needed
Cons:
- Both svnadmin and cvs2svn only work on local repositories
- cvs2svn cannot be used for tracking
Regards
	Stephan
Previous: Martin LanghoffNext: Yann Dirson
Message 8 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.