git cvsimport branches not consistent with CVS branches
- From
- Gordon 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.