Re: cvs2git --dumpfile not created
Michael Haggerty <[email protected]> Fri, 22 Jun 2012 17:34:48 +0200
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
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.
> Regarding the amount of files imported, I have a big work to verify all
> commits, but for instance, it seems to have all and I could reverting to
> previous commits.
>
> The migration used the 2.3 cvs2git release. I will retry the 2.4 and
> analyze the import to limit the example as low space as possible to send it.
I'm confused. Are you still having trouble or did the conversion work
this time?
Michael
[1] http://cvs2svn.tigris.org/cvs2git.html
--
Michael Haggerty
[email protected]
http://softwareswirl.blogspot.com/
------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2972643
To unsubscribe from this discussion, e-mail: [[email protected]].