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

git-cvsimport gets parents wrong for branches

From
EElrond <elrond+kernel.org@samba-tng.org>
Date
Jul 3, 2006, 21:53 UTC
Message-ID
<20060703215303.GA24572@memak.tu-darmstadt.de>
Hi,

Just by accident I noticed, that git-cvsimport got the parents for branches wrong in one of my projects.

To assist in debugging this, I've made up a testcase script (appended to this mail). It will create a new cvs-repo, put 4 commits in it, and finally run gitk to investigate it.

It should look something like this:
    4 [branch-stable-fixes] commit-on-branch
  3 | [master] [origin] commit-master-after-branch
  |/
  2   [tag-branchpoint] commit-first-edit
  1   commit-base
What it really looks like:
  4   ..
  3   ..
  2   ..
  1   ..
4's parent is 3, not (as it should) 2.

I've tested with 1.4.0 and the current git-cvsimport from 8fced61.

I hope the testcase helps tracking the problem down.
    Elrond
p.s.: The testcase script is not nice. It just does the
      job, nothing more.
Next: Martin Langhoff
Message 1 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.