[M3devel] conversion to another version control system

Olaf Wagner wagner at elegosoft.com
Fri Aug 27 20:55:55 CEST 2010


Quoting Tony Hosking <hosking at cs.purdue.edu>:

> cvs checkout gives you a checked out working directory not a repository.
> You'd need to *copy* the repository hierarchy verbatim.

The CM3 repository is on birch.elegosoft.com:/usr/cvs
It contains CVSROOT and cm3 as CVS modules.
CVSROOT contains metainformation about the versions. You'll
probably need it for git conversion.

You can get the whole repository via cvsup, rsync or scp. The last
two require an ssh account on birch.

Olaf

PS: I did mention that Peter Eiserloh is also working on a git
     conversion of our history?

> On 27 Aug 2010, at 14:09, hendrik at topoi.pooq.com wrote:
>
>> On Fri, Aug 27, 2010 at 01:35:02PM -0400, hendrik at topoi.pooq.com wrote:
>>> I was tinkering with a copy of the Modula 3 cvs repository I had made
>>> a few months ago using cvsup, seeing of cvs2git would make me a proper
>>> git-fast-import file.  It complained that what I provided wasn't a valid
>>> CVS repository:
>>>
>>> ERROR: the path '/farhome/hendrik/newcm3/trywholecvs/cvs' is not a CVS
>>> repository, nor a path within a CVS repository.  A CVS repository
>>> contains a CVSROOT directory within its root directory.
>>>
>>> Now I looked around, and couldn't find a CVSROOT directory anywhere
>>> except in /usr/lib/cvs, which is probably irrelevant.
>>>
>>> Is this a problem with cvs2git, a problem with the repository, or a
>>> problem with cvsup, or a problem with the way I used cvsup to copy the
>>> repository?  Or would any regular cvs user know just exactly what to do?
>>
>> Should I perhaps just create an empty CVSROOT directory somewhere?
>>
>> In case it indicates what I did wrong, an ancient log indicates that
>> when I created the copy of the repository in the first place, I used the
>> commands
>>
>> cvs -d :pserver:anonymous at modula3.elegosoft.com:/usr/cvs login
>> cvs -d :pserver:anonymous at modula3.elegosoft.com:/usr/cvs checkout cm3
>>
>> -- hendrik
>
>



-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list