Re: CVS2git migartion....

Michael Haggerty <[email protected]>
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <[email protected]>
On 01/17/2012 12:02 PM, suchi upadhyay wrote:
> I used this link(http://cvs2svn.tigris.org/cvs2git.html#usage)  for
> migrate CVS repository to Git. First I tried with the steps given in the
> link but it was not working as it is and it failed for command
>  cvs2git where it stuck at migration of repository part, not able to
> understand the given repository. So I installed CVS on the Git machine
> and then tried with cvs2git migration command using both option file and
> cvs2git command , both worked succesfully. So my question is - if I want
> to migrate my CVS repository to Git  then I need to install CVS also on
> my Git machine/server?

The same page lists the requirements:

    http://cvs2svn.tigris.org/cvs2git.html#reqs

> I installed Tortoise Git to verify the client-end users oepration. I am
> able to clone --> add --> commit but not able to push those commited
> changes to Server.
> [...]
> Writing objects: 100% (5/5), 378 bytes, done.
> 
> remote: error: 'receive.denyCurrentBranch' configuration variable to
> 'refuse'.
> 
> To ssh://GITAdmin@<servername>:/home/GITAdmin/newmig/testgit.git
> 
> ! [remote rejected] master -> master (branch is currently checked out)

It is confused because your server repository is not bare (i.e., it has
a checked-out working copy).  You should use a bare repository on your
server.  Create one by using "git clone --bare ...".

Michael

-- 
Michael Haggerty
[email protected]
http://softwareswirl.blogspot.com/

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

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.