Re: Git and cvsimport
From: Tor Arntsen <hidden>
Date: 2016-06-15 22:48:43
On Tue, Apr 27, 2010 at 12:41, Marin Atanasov [off-list ref] 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