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

Re: git-cvsimport gets parents wrong for branches

From
EElrond <elrond@samba-tng.org>
Date
Jul 4, 2006, 10:46 UTC
Message-ID
<20060704104631.GB24572@memak.tu-darmstadt.de>
In-Reply-To
<46a038f90607031615m2cafbf05q5922fb04eae72362@mail.gmail.com>
On Tue, Jul 04, 2006 at 11:15:47AM +1200, Martin Langhoff wrote:
Show 6 quoted lines
> Elrond,
> 
> you are right, the current git-cvsimport takes a very naive approach
> to determine where branches open from. It uses cvsps internally, which
> only reports on the ancestor branch, so we take the latest commit from
> the ancestor.

If there is no fix visible, it probably should be documented, that git-cvsimport isn't the perfect solution, so people aren't surprised.

> Parsecvs probably has a more sophisticated approach, have you tried it?

After finding the current correct git:-url [1] for it, I noticed, that I need libgit for it (I use git from my distribution), so I've postponed this. Of course, you can use my script and try parsecvs yourself.

> If the cvs2svn documentation is not lying, it probably has the
> smartest/correctest implementation. For small-medium repos, you may be
> able to run cvs2svn and then import with git-svnimport.
I'll try that soon.
    Elrond
[1] git://anongit.freedesktop.org/git/users/keithp/parsecvs
Previous: Johannes Schindelin
Message 6 of 6 in “git-cvsimport gets parents wrong for branches”
  1. ElrondJul 3, 2006
  2. Martin LanghoffJul 3, 2006
  3. Johannes SchindelinJul 4, 2006
  4. ElrondJul 4, 2006
  5. Johannes SchindelinJul 4, 2006
  6. ElrondJul 4, 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.