* cvs2git migration - cloning CVS repository
@ 2009-02-02 14:24 Rostislav Svoboda
[not found] ` <9a0027270902020707p4305d92fl1388bbfeb8a0864b@mail.gmail.com>
2009-02-03 12:45 ` Michael Haggerty
0 siblings, 2 replies; 7+ messages in thread
From: Rostislav Svoboda @ 2009-02-02 14:24 UTC (permalink / raw)
To: git
Hi everyone
I'd like to clone a CVS repository to a local machine in order to
prepare it for a migration to git. I tried:
$git cvsimport -p x -v -d
:pserver:mylogin@cvs-server:/cvs/cvsrepository cvsmodule
AuthReply: I HATE YOU
$git cvsimport -p x -v -d
:pserver:anonymous@cvs-server:/cvs/cvsrepository cvsmodule
AuthReply: E Fatal error, aborting.
I haven't found much info concerning the 'I HATE YOU'. So I'd like to
ask you if I'm right:
(I can't talk about this with my cvs-server administrator. He's a kind of dumb)
- git cvsimport works only using 'anonymous' account. So my real login
name won't work?
- 'AuthReply: E Fatal error, aborting.' means that the cvs-server does
not accept anonymous connections?
Is there any other way how to get the cvs repository to my local machine?
thx a lot
Bost
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cvs2git migration - cloning CVS repository
[not found] ` <9a0027270902020707p4305d92fl1388bbfeb8a0864b@mail.gmail.com>
@ 2009-02-02 16:05 ` Rostislav Svoboda
0 siblings, 0 replies; 7+ messages in thread
From: Rostislav Svoboda @ 2009-02-02 16:05 UTC (permalink / raw)
To: git; +Cc: David Syzdek, smurf
2009/2/2 David Syzdek <syzdek@gmail.com>:
> Rostislav,
> I ran into this issue when I tried to import my CVS repository into Git.
> Be sure to issue a CVS login before attempting the import:
>
> cvs -d :pserver:mylogin@cvs-server:/cvs/cvsrepository login
Yea! that's it! THX!
IMHO it won't be bad to have it somewhere in the git-cvsimport and/or
gitcvs-migration
documentation (short notice would be enough) even if the 'AuthReply: I
HATE YOU'
comes out of git. It would save me more than a couple of hours if it
were there...
Bost
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cvs2git migration - cloning CVS repository
2009-02-02 14:24 cvs2git migration - cloning CVS repository Rostislav Svoboda
[not found] ` <9a0027270902020707p4305d92fl1388bbfeb8a0864b@mail.gmail.com>
@ 2009-02-03 12:45 ` Michael Haggerty
2009-02-03 12:55 ` Johannes Schindelin
1 sibling, 1 reply; 7+ messages in thread
From: Michael Haggerty @ 2009-02-03 12:45 UTC (permalink / raw)
To: Rostislav Svoboda; +Cc: git
Rostislav Svoboda wrote:
> I'd like to clone a CVS repository to a local machine in order to
> prepare it for a migration to git. I tried:
>
> $git cvsimport -p x -v -d
> [...]
If your goal is a high-quality one-time conversion from CVS to git, then
you would be better off getting a filesystem copy of the CVS repository
then converting with cvs2git [1]. "git cvsimport" does not convert a
CVS repository faithfully to git, though it might barely be adequate if
you absolutely need to keep git and CVS in sync.
If you do not have filesystem access to your CVS repository, you might
be able to clone it using CVSSuck [2,3].
Michael
the cvs2svn/cvs2git maintainer
[1] http://cvs2svn.tigris.org/cvs2git.html
[2] http://cvs.m17n.org/~akr/cvssuck/
[3] http://cvs2svn.tigris.org/faq.html#repoaccess
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cvs2git migration - cloning CVS repository
2009-02-03 12:45 ` Michael Haggerty
@ 2009-02-03 12:55 ` Johannes Schindelin
2009-02-03 14:18 ` Michael Haggerty
2009-02-03 22:54 ` Christian MICHON
0 siblings, 2 replies; 7+ messages in thread
From: Johannes Schindelin @ 2009-02-03 12:55 UTC (permalink / raw)
To: Michael Haggerty; +Cc: Rostislav Svoboda, git
Hi,
On Tue, 3 Feb 2009, Michael Haggerty wrote:
> If you do not have filesystem access to your CVS repository, you might
> be able to clone it using CVSSuck [2,3].
A substantially faster option would be to go with cvsclone:
http://samba.org/ftp/tridge/rtc/cvsclone.l
(in my case, cvsclone was not only faster, but it actually worked, too,
which is more than I could say of CVSSuck).
Note: it only works for anonymous access so far.
Note also: for my use case, it was necessary to edit the rlog, as those
brilliant geniuses included verbatim cvs logs for files they moved. *sigh*
If you need something like that, I can give you my patched version.
Ciao,
Dscho
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cvs2git migration - cloning CVS repository
2009-02-03 12:55 ` Johannes Schindelin
@ 2009-02-03 14:18 ` Michael Haggerty
2009-02-03 22:54 ` Christian MICHON
1 sibling, 0 replies; 7+ messages in thread
From: Michael Haggerty @ 2009-02-03 14:18 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: Rostislav Svoboda, git, cvs2svn users
Johannes Schindelin wrote:
> On Tue, 3 Feb 2009, Michael Haggerty wrote:
>> If you do not have filesystem access to your CVS repository, you might
>> be able to clone it using CVSSuck [2,3].
>
> A substantially faster option would be to go with cvsclone:
>
> http://samba.org/ftp/tridge/rtc/cvsclone.l
>
> (in my case, cvsclone was not only faster, but it actually worked, too,
> which is more than I could say of CVSSuck).
>
> Note: it only works for anonymous access so far.
>
> Note also: for my use case, it was necessary to edit the rlog, as those
> brilliant geniuses included verbatim cvs logs for files they moved. *sigh*
> If you need something like that, I can give you my patched version.
Thanks for the pointer. I just added it to the cvs2svn/cvs2git FAQ [1].
Michael
[1] http://cvs2svn.tigris.org/faq.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cvs2git migration - cloning CVS repository
2009-02-03 12:55 ` Johannes Schindelin
2009-02-03 14:18 ` Michael Haggerty
@ 2009-02-03 22:54 ` Christian MICHON
2009-02-03 23:02 ` Johannes Schindelin
1 sibling, 1 reply; 7+ messages in thread
From: Christian MICHON @ 2009-02-03 22:54 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: Michael Haggerty, Rostislav Svoboda, git
On Tue, Feb 3, 2009 at 1:55 PM, Johannes Schindelin
<Johannes.Schindelin@gmx.de> wrote:
> Hi,
>
> On Tue, 3 Feb 2009, Michael Haggerty wrote:
>
>> If you do not have filesystem access to your CVS repository, you might
>> be able to clone it using CVSSuck [2,3].
>
> A substantially faster option would be to go with cvsclone:
>
> http://samba.org/ftp/tridge/rtc/cvsclone.l
>
> (in my case, cvsclone was not only faster, but it actually worked, too,
> which is more than I could say of CVSSuck).
>
fantastic, really! :)
it saves almost half a day of git-cvsimport on vim7 cvs official repository.
Dscho rulez... Kudos...
--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu with Git inside !
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cvs2git migration - cloning CVS repository
2009-02-03 22:54 ` Christian MICHON
@ 2009-02-03 23:02 ` Johannes Schindelin
0 siblings, 0 replies; 7+ messages in thread
From: Johannes Schindelin @ 2009-02-03 23:02 UTC (permalink / raw)
To: Christian MICHON; +Cc: Michael Haggerty, Rostislav Svoboda, git
Hi,
On Tue, 3 Feb 2009, Christian MICHON wrote:
> On Tue, Feb 3, 2009 at 1:55 PM, Johannes Schindelin
> <Johannes.Schindelin@gmx.de> wrote:
>
> > On Tue, 3 Feb 2009, Michael Haggerty wrote:
> >
> >> If you do not have filesystem access to your CVS repository, you might
> >> be able to clone it using CVSSuck [2,3].
> >
> > A substantially faster option would be to go with cvsclone:
> >
> > http://samba.org/ftp/tridge/rtc/cvsclone.l
> >
> > (in my case, cvsclone was not only faster, but it actually worked, too,
> > which is more than I could say of CVSSuck).
> >
>
> fantastic, really! :)
> it saves almost half a day of git-cvsimport on vim7 cvs official repository.
>
> Dscho rulez... Kudos...
Hey, thanks!
For interested parties, I set up a repository at
http://repo.or.cz/w/cvsclone.git
Note: this is by no means an official repository, and it contains
adaptations I needed for a very special case (which cost me 1 week to find
out what the problem was, and a day to fix, and 2 months later, they
switched to Subversion ;-)
Ciao,
Dscho
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-02-03 23:03 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-02 14:24 cvs2git migration - cloning CVS repository Rostislav Svoboda
[not found] ` <9a0027270902020707p4305d92fl1388bbfeb8a0864b@mail.gmail.com>
2009-02-02 16:05 ` Rostislav Svoboda
2009-02-03 12:45 ` Michael Haggerty
2009-02-03 12:55 ` Johannes Schindelin
2009-02-03 14:18 ` Michael Haggerty
2009-02-03 22:54 ` Christian MICHON
2009-02-03 23:02 ` Johannes Schindelin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).