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

git-cvsimport bug? Newly created branch not seen unless there's at least one commit in it

From
FGFrancis Galiegue <fge@one2team.com>
Date
Oct 23, 2008, 12:00 UTC
Message-ID
<200810231400.45734.fge@one2team.com>
Hello,

I've tried to git-cvsimport a module from CVS, where a branch named "foo" existed. CVSROOT set in the environment, CVS_RSH too, and I imported with:

git-cvsimport -k -a -C themodule themodule
However, it didn't do what I expected: I couldn't see the branch named "foo".

I had to make a commit using CVS on that very same module on that "foo" branch. After the commit, out of curiosity, I executed the same git command again in the same directory: this time the branch was seen.

Is this a bug, or is there a git-cvsimport option that I missed? I have looked at the manpage several times, and couldn't find what option could be of any use in my case (mind you, I haven't looked at the cvsps manpage either).

Thanks,
-- 
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 6 83 87 78 75
Tel : +33 (0) 1 78 94 55 52
fge@one2team.com
40 avenue Raymond Poincaré
75116 Paris
Message 1 of 1 in “git-cvsimport bug? Newly created branch not seen unless there's at least one commit in it”
  1. Francis GaliegueOct 23, 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.