Re: cvs2git --dumpfile not created

Michel SIMIAN <[email protected]> Wed, 27 Jun 2012 09:11:36 +0200
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <[email protected]>
Le 22/06/2012 17:34, Michael Haggerty a écrit :
> On 06/22/2012 03:33 PM, Michel SIMIAN wrote:
>> The migration is now a success.
>>
>> I didn't understood that cvs2git only migrate history, not files. I
>> found a tuto http://codebrane.com/blog/?p=1499
>> explaining that and the copy of files before fast-import.
>
> Our own instructions [1] tell how to make a bare repository (one that 
> doesn't contain a source tree):
>
>     mkdir myproject.git
>     cd myproject.git
>     git init --bare
>     cat ... | git fast-import
>     cd SOMEWHERE
>     git clone /path/to/myproject.git
>
> But if you want to make a non-bare repo, then you would do something like
>
>     git init
>     cat ... | git fast-import
>     # The repository is now ready but the current version of the
>     # source tree has to be checked out:
>     git checkout -- .
>
> I don't understand why the tutorial suggests that you do "git add ." 
> after "git init".  It seems like a strange substitute for the "git 
> checkout" command above.

I'm not so comfortable with git. I'm a git beginner... But if I want to 
import a complete CVS tree, including tags, branches, sources files, 
commits, and so on, I'm not sure if the cvs2git is doing all I need. In 
fact :

I do a cvs checkout to build a working space.
I do the command you explain above to make a non bare repo
I create a clone of the new git repo
The files trees are not identical (thanks to Meld...) : the cvs space 
and the git clone, the git clone and the git repo, ... In fact, all the 
files in the git clone are empty...
and if I compare the cvs workspace with the content of the git repo, 
there are not identical....

How can I import my cvs repo in a safety way ?

-- 

Michel SIMIAN
XOOL Technologies
04.75.42.29.70

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2973457

To unsubscribe from this discussion, e-mail: [[email protected]].