FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 11-02-2010, 03:02 AM
 
Default Converting RCS/CVS to git

I have a small RCS repository which I would like to convert to git.
It has no branches, no subdirs, and only a few files.

I found one conversion utility which claimed to convert directly from
RCS to git, but it failed, and I no longer remember its name or how it
failed, other than it sounded like more than a simple failure.

I can convert it to CVS manually simply enough.

I found git has a cvsimport command, but it complained that cvs didn't
recognize the server command, and some hints I saw of requiring cvs 2
made me pause ... all I can see is cvs 1.12. Vague fuzzy old memories
make me think there was a cvs 2, but I see nothing in gentoo for it.
I am not excited at git expecting a cvs server; I'll be danged if I'm
going to muck around with that just to convert a few files when git
has direct access to the ,v files themselves.

Anyone have any suggestions? Don't feed me google pages; I am asking
for personal experience. It would also be interesting to know what
this cvs 2 business is. It's hard to google for that ...

--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
 
Old 11-02-2010, 02:41 PM
BRM
 
Default Converting RCS/CVS to git

The cvs2svn project also has a cvs2git tool.

http://cvs2svn.tigris.org/

HTH,

Ben




----- Original Message ----
> From: "felix@crowfix.com" <felix@crowfix.com>
> To: gentoo-user@lists.gentoo.org
> Sent: Tue, November 2, 2010 12:02:58 AM
> Subject: [gentoo-user] Converting RCS/CVS to git
>
> I have a small RCS repository which I would like to convert to git.
> It has no branches, no subdirs, and only a few files.
>
> I found one conversion utility which claimed to convert directly from
> RCS to git, but it failed, and I no longer remember its name or how it
> failed, other than it sounded like more than a simple failure.
>
> I can convert it to CVS manually simply enough.
>
> I found git has a cvsimport command, but it complained that cvs didn't
> recognize the server command, and some hints I saw of requiring cvs 2
> made me pause ... all I can see is cvs 1.12. Vague fuzzy old memories
> make me think there was a cvs 2, but I see nothing in gentoo for it.
> I am not excited at git expecting a cvs server; I'll be danged if I'm
> going to muck around with that just to convert a few files when git
> has direct access to the ,v files themselves.
>
> Anyone have any suggestions? Don't feed me google pages; I am asking
> for personal experience. It would also be interesting to know what
> this cvs 2 business is. It's hard to google for that ...
>
> --
> ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
> Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
> GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
> I've found a solution to Fermat's Last Theorem but I see I've run out of room
>o
>
>
 
Old 11-02-2010, 03:43 PM
 
Default Converting RCS/CVS to git

On Tue, Nov 02, 2010 at 08:41:27AM -0700, BRM wrote:
> The cvs2svn project also has a cvs2git tool.
>
> http://cvs2svn.tigris.org/

Interesting ... downloaded and tried it, but no time for a full
reading of the docs ... got an empty git repository so I will have to
explore it further later :-)

Thanks.

--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
 
Old 11-02-2010, 04:11 PM
BRM
 
Default Converting RCS/CVS to git

----- Original Message ----

> From: "felix@crowfix.com" <felix@crowfix.com>
> On Tue, Nov 02, 2010 at 08:41:27AM -0700, BRM wrote:
> > The cvs2svn project also has a cvs2git tool.
> >
> > http://cvs2svn.tigris.org/
>
> Interesting ... downloaded and tried it, but no time for a full
> reading of the docs ... got an empty git repository so I will have to
> explore it further later :-)
>

Jump on the cvs2svn mailing list if you continue to have problems.
The mailing list is very low-volume (<100 per month) and the author is quite
responsive to issues.

I haven't used cvs2git myself, though I have used cvs2svn several times.
It's a great and wonderful little tool.

Ben
 
Old 11-10-2010, 08:27 PM
Enrico Weigelt
 
Default Converting RCS/CVS to git

* felix@crowfix.com <felix@crowfix.com> wrote:

> I found git has a cvsimport command, but it complained that cvs didn't
> recognize the server command, and some hints I saw of requiring cvs 2
> made me pause ... all I can see is cvs 1.12.

echo "dev-vcs/cvs server" >> /etc/portage/package.use && emerge -1 cvs

> I am not excited at git expecting a cvs server; I'll be danged if I'm
> going to muck around with that just to convert a few files when git
> has direct access to the ,v files themselves.

You dont need to have an cvs server listening on some port.
git-cvsimport just uses the cvs server command to check out
individual revisions. Directly working on *,v files would require
an completely separate implementation, just for the special case
of importing local repos.


cu
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/

phone: +49 36207 519931 email: weigelt@metux.de
mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
 

Thread Tools




All times are GMT. The time now is 05:11 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org