threads / bug / 16022

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

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

## tl;dr

One message between Oct 23, 2008 and Oct 23, 2008.

replies: 0people: 1as markdown or json

Francis Galiegue· Oct 23, 2008, 12:01 UTC · lore
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,
-- 
fge

← back to recent threads