{"thread":{"id":"17503","subject":"cvs2git migration - cloning CVS repository","startedAt":"2009-02-02T14:24:56Z","lastAt":"2009-02-03T23:02:18Z","messageCount":7,"participants":["Rostislav Svoboda","Michael Haggerty","Johannes Schindelin","Christian MICHON"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"102861","messageId":"286817520902020624y7f4c2942l34fafc0fe0fa0b48@mail.gmail.com","threadId":"17503","inReplyTo":null,"subject":"cvs2git migration - cloning CVS repository","fromName":"Rostislav Svoboda","fromEmail":"rostislav.svoboda@gmail.com","sentAt":"2009-02-02T14:24:56Z","receivedAt":"2009-02-02T14:24:56Z","isPatch":false,"sender":{"key":"rostislav.svoboda@gmail.com","avatar":"https://gravatar.com/avatar/9486d31c83feb25557c616b462aaef410dfe21d03bdf08cb62ff4ba9bafcc8eb?d=mp&s=160"},"body":"Hi everyone\n\nI'd like to clone a CVS repository to a local machine in order to\nprepare it for a migration to git. I tried:\n\n$git cvsimport -p x -v -d\n:pserver:mylogin@cvs-server:/cvs/cvsrepository cvsmodule\nAuthReply: I HATE YOU\n$git cvsimport -p x -v -d\n:pserver:anonymous@cvs-server:/cvs/cvsrepository cvsmodule\nAuthReply: E Fatal error, aborting.\n\nI haven't found much info concerning the 'I HATE YOU'. So I'd like to\nask you if I'm right:\n(I can't talk about this with my cvs-server administrator. He's a kind of dumb)\n\n- git cvsimport works only using 'anonymous' account. So my real login\nname won't work?\n- 'AuthReply: E Fatal error, aborting.' means that the cvs-server does\nnot accept anonymous connections?\n\nIs there any other way how to get the cvs repository to my local machine?\n\nthx a lot\n\nBost\n"},{"id":"102870","messageId":"286817520902020805o1f1f6abet7b14f47d63c28d77@mail.gmail.com","threadId":"17503","inReplyTo":"9a0027270902020707p4305d92fl1388bbfeb8a0864b@mail.gmail.com","subject":"Re: cvs2git migration - cloning CVS repository","fromName":"Rostislav Svoboda","fromEmail":"rostislav.svoboda@gmail.com","sentAt":"2009-02-02T16:05:21Z","receivedAt":"2009-02-02T16:05:21Z","isPatch":false,"sender":{"key":"rostislav.svoboda@gmail.com","avatar":"https://gravatar.com/avatar/9486d31c83feb25557c616b462aaef410dfe21d03bdf08cb62ff4ba9bafcc8eb?d=mp&s=160"},"body":"2009/2/2 David Syzdek <syzdek@gmail.com>:\n> Rostislav,\n> I ran into this issue when I  tried to import my CVS repository into Git.\n>  Be sure to issue a CVS login before attempting the import:\n>\n> cvs -d :pserver:mylogin@cvs-server:/cvs/cvsrepository login\n\nYea! that's it! THX!\nIMHO it won't be bad to have it somewhere in the git-cvsimport and/or\ngitcvs-migration\ndocumentation (short notice would be enough) even if the 'AuthReply: I\nHATE YOU'\ncomes out of git. It would save me more than a couple of hours if it\nwere there...\n\nBost\n"},{"id":"102955","messageId":"49883C52.3060102@alum.mit.edu","threadId":"17503","inReplyTo":"286817520902020624y7f4c2942l34fafc0fe0fa0b48@mail.gmail.com","subject":"Re: cvs2git migration - cloning CVS repository","fromName":"Michael Haggerty","fromEmail":"mhagger@alum.mit.edu","sentAt":"2009-02-03T12:45:06Z","receivedAt":"2009-02-03T12:45:06Z","isPatch":false,"sender":{"key":"mhagger@alum.mit.edu","avatar":"https://avatars.githubusercontent.com/u/119718?v=4"},"body":"Rostislav Svoboda wrote:\n> I'd like to clone a CVS repository to a local machine in order to\n> prepare it for a migration to git. I tried:\n> \n> $git cvsimport -p x -v -d\n> [...]\n\nIf your goal is a high-quality one-time conversion from CVS to git, then\nyou would be better off getting a filesystem copy of the CVS repository\nthen converting with cvs2git [1].  \"git cvsimport\" does not convert a\nCVS repository faithfully to git, though it might barely be adequate if\nyou absolutely need to keep git and CVS in sync.\n\nIf you do not have filesystem access to your CVS repository, you might\nbe able to clone it using CVSSuck [2,3].\n\nMichael\nthe cvs2svn/cvs2git maintainer\n\n[1] http://cvs2svn.tigris.org/cvs2git.html\n[2] http://cvs.m17n.org/~akr/cvssuck/\n[3] http://cvs2svn.tigris.org/faq.html#repoaccess\n"},{"id":"102956","messageId":"alpine.DEB.1.00.0902031348570.6573@intel-tinevez-2-302","threadId":"17503","inReplyTo":"49883C52.3060102@alum.mit.edu","subject":"Re: cvs2git migration - cloning CVS repository","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2009-02-03T12:55:01Z","receivedAt":"2009-02-03T12:55:01Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Tue, 3 Feb 2009, Michael Haggerty wrote:\n\n> If you do not have filesystem access to your CVS repository, you might \n> be able to clone it using CVSSuck [2,3].\n\nA substantially faster option would be to go with cvsclone:\n\n\thttp://samba.org/ftp/tridge/rtc/cvsclone.l\n\n(in my case, cvsclone was not only faster, but it actually worked, too, \nwhich is more than I could say of CVSSuck).\n\nNote: it only works for anonymous access so far.\n\nNote also: for my use case, it was necessary to edit the rlog, as those \nbrilliant geniuses included verbatim cvs logs for files they moved. *sigh*\nIf you need something like that, I can give you my patched version.\n\nCiao,\nDscho\n"},{"id":"102964","messageId":"49885248.6020805@alum.mit.edu","threadId":"17503","inReplyTo":"alpine.DEB.1.00.0902031348570.6573@intel-tinevez-2-302","subject":"Re: cvs2git migration - cloning CVS repository","fromName":"Michael Haggerty","fromEmail":"mhagger@alum.mit.edu","sentAt":"2009-02-03T14:18:48Z","receivedAt":"2009-02-03T14:18:48Z","isPatch":false,"sender":{"key":"mhagger@alum.mit.edu","avatar":"https://avatars.githubusercontent.com/u/119718?v=4"},"body":"Johannes Schindelin wrote:\n> On Tue, 3 Feb 2009, Michael Haggerty wrote:\n>> If you do not have filesystem access to your CVS repository, you might \n>> be able to clone it using CVSSuck [2,3].\n> \n> A substantially faster option would be to go with cvsclone:\n> \n> \thttp://samba.org/ftp/tridge/rtc/cvsclone.l\n> \n> (in my case, cvsclone was not only faster, but it actually worked, too, \n> which is more than I could say of CVSSuck).\n> \n> Note: it only works for anonymous access so far.\n> \n> Note also: for my use case, it was necessary to edit the rlog, as those \n> brilliant geniuses included verbatim cvs logs for files they moved. *sigh*\n> If you need something like that, I can give you my patched version.\n\nThanks for the pointer.  I just added it to the cvs2svn/cvs2git FAQ [1].\n\nMichael\n\n[1] http://cvs2svn.tigris.org/faq.html\n"},{"id":"103032","messageId":"46d6db660902031454r1142082cu739a4d6186bc3d2e@mail.gmail.com","threadId":"17503","inReplyTo":"alpine.DEB.1.00.0902031348570.6573@intel-tinevez-2-302","subject":"Re: cvs2git migration - cloning CVS repository","fromName":"Christian MICHON","fromEmail":"christian.michon@gmail.com","sentAt":"2009-02-03T22:54:01Z","receivedAt":"2009-02-03T22:54:01Z","isPatch":false,"sender":{"key":"christian.michon@gmail.com","avatar":"https://gravatar.com/avatar/8a7c327b21187fbcab5c27640a49450eec72e0355dc292501197f27a5a744ec4?d=mp&s=160"},"body":"On Tue, Feb 3, 2009 at 1:55 PM, Johannes Schindelin\n<Johannes.Schindelin@gmx.de> wrote:\n> Hi,\n>\n> On Tue, 3 Feb 2009, Michael Haggerty wrote:\n>\n>> If you do not have filesystem access to your CVS repository, you might\n>> be able to clone it using CVSSuck [2,3].\n>\n> A substantially faster option would be to go with cvsclone:\n>\n>        http://samba.org/ftp/tridge/rtc/cvsclone.l\n>\n> (in my case, cvsclone was not only faster, but it actually worked, too,\n> which is more than I could say of CVSSuck).\n>\n\nfantastic, really! :)\nit saves almost half a day of git-cvsimport on vim7 cvs official repository.\n\nDscho rulez... Kudos...\n\n-- \nChristian\n--\nhttp://detaolb.sourceforge.net/, a linux distribution for Qemu with Git inside !\n"},{"id":"103034","messageId":"alpine.DEB.1.00.0902040000000.9822@pacific.mpi-cbg.de","threadId":"17503","inReplyTo":"46d6db660902031454r1142082cu739a4d6186bc3d2e@mail.gmail.com","subject":"Re: cvs2git migration - cloning CVS repository","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2009-02-03T23:02:18Z","receivedAt":"2009-02-03T23:02:18Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Tue, 3 Feb 2009, Christian MICHON wrote:\n\n> On Tue, Feb 3, 2009 at 1:55 PM, Johannes Schindelin\n> <Johannes.Schindelin@gmx.de> wrote:\n>\n> > On Tue, 3 Feb 2009, Michael Haggerty wrote:\n> >\n> >> If you do not have filesystem access to your CVS repository, you might\n> >> be able to clone it using CVSSuck [2,3].\n> >\n> > A substantially faster option would be to go with cvsclone:\n> >\n> >        http://samba.org/ftp/tridge/rtc/cvsclone.l\n> >\n> > (in my case, cvsclone was not only faster, but it actually worked, too,\n> > which is more than I could say of CVSSuck).\n> >\n> \n> fantastic, really! :)\n> it saves almost half a day of git-cvsimport on vim7 cvs official repository.\n> \n> Dscho rulez... Kudos...\n\nHey, thanks!\n\nFor interested parties, I set up a repository at\n\n\thttp://repo.or.cz/w/cvsclone.git\n\nNote: this is by no means an official repository, and it contains \nadaptations I needed for a very special case (which cost me 1 week to find \nout what the problem was, and a day to fix, and 2 months later, they \nswitched to Subversion ;-)\n\nCiao,\nDscho\n"}]}