Re: Git and cvsimport
- From
- Tor Arntsen <tor@spacetec.no>
- Date
- Apr 27, 2010, 11:58 UTC
- Message-ID
- <r2xd2d39d861004270458v2e1cb73by78f53d71103b47e6@mail.gmail.com>
- In-Reply-To
- <l2w717f7a3e1004270341lea6cfe2aqdf8d2b490b1ec067@mail.gmail.com>
On Tue, Apr 27, 2010 at 12:41, Marin Atanasov <dnaeon@gmail.com> wrote:
> Perhaps I didn't explain better what I want to accomplish :) > > I want to convert CVS repo to a Git one.
But the above statement.. [..]
> What I want to do is to checkout from CVS the files which are tagged > RELEASE_1_0 for example, and then import the files to a Git repo. > Files tagged as RELEASE_1_0 differ from HEAD files, so I want only > those files with that tag for example.
.. seems to be in conflict with the above paragraph. Files tagged with RELEASE_1_0 sounds like a revision tag (i.e. not a branch). If you want to checkout that snapshot and insert into a Git rep you could as well just 'cvs export -r RELEASE_1_0 <module>; git init; git add .; git commit' but that obviously won't give you any CVS history in the Git repo.
Is RELEASE_1_0 instead a branch tag? I.e. a CVS branch?
-Tor