Re: cvs2svn-2.3.0
Ryan Boggs <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <CAJg1EnBmjORG+eGMvSpkBQ4CpgdrzLfsPzrKhVKZ++e3OgL49Q@mail.gmail.com> |
Hi, On Thu, Dec 15, 2011 at 4:41 AM, Turbo Fredriksson <[email protected]> wrote: > I'm trying to convert all of my CVS repositories, so I've > created a bunch of empty repositories on github.com. I run > cvs2git+git init+git fast-import on each CVS repo, resulting > in a bunch of directories. In each of these directories, > the only thing that's there is the .git directory.. > > I can't send that to github, so how do I get cvs2git to > also extract the files, the content of the repo, not just > it's branch, tag and commit history? > > > Or am I'm going about this the wrong way? I think you are going about it the wrong way. We just did a similar procedure about a month or so ago. IIRC, after the fast import is done, you need to add a new remote pointing to the github repo in question (git remote add github [email protected]:username/pathtorepo) then push to the new remote (git push github master). That should push the files over as you expect. You might want to read up a bit more on remotes and pushing as there are more features available to help you move over what you need. There may be situations you are trying to deal with that the info provided above doesn't address (ie: pushing tags, etc). This should help: http://help.github.com/create-a-repo/ If I missed anything, someone else please chime in. I am not, by any means, an expert on git. Thanks, Ryan > -- > Try not. Do. Or do not. There is no try! > - Yoda > > ------------------------------------------------------ > http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2893555 > > To unsubscribe from this discussion, e-mail: [[email protected]]. ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2893590 To unsubscribe from this discussion, e-mail: [[email protected]].