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

git cvsimport branches not consistent with CVS branches

From
GHGordon Heydon <gordon@heydon.com.au>
Date
Jul 8, 2007, 00:45 UTC
Message-ID
<46903396.1010507@heydon.com.au>
Hi,

After some investigation I found that git cvsimport was not importing branches 100% correctly with CVS.

Git and CVS do branching very differently in that CVS this is done at the file level (like everything else) and git does it repository wide.

So if I have a CVS repository with the files a, b and c and I branch b with a `cvs tab -b BRANCH test` on the branch test I will just have the file b.

If I do a git cvsimport on the test branch there will actually be the files a, b and c

What I think needs to happen is that when git cvsimport created the branch in the git repository it needs to delete all files from the branch that were not branched.

Thanks in advance. Gordon.

Next: Brian Downing
Message 1 of 8 in “git cvsimport branches not consistent with CVS branches”
  1. Gordon HeydonJul 8, 2007
  2. Brian DowningJul 8, 2007
  3. Robin RosenbergJul 8, 2007
  4. Johannes SchindelinJul 8, 2007
  5. Robin RosenbergJul 8, 2007
  6. Brian DowningJul 8, 2007
  7. Steffen ProhaskaJul 8, 2007
  8. Josh TriplettJul 9, 2007

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.