public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Converting RCS/CVS to git
@ 2010-11-02  4:02 felix
  2010-11-02 15:41 ` BRM
  2010-11-10 21:27 ` Enrico Weigelt
  0 siblings, 2 replies; 5+ messages in thread
From: felix @ 2010-11-02  4:02 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Converting RCS/CVS to git
  2010-11-02  4:02 [gentoo-user] Converting RCS/CVS to git felix
@ 2010-11-02 15:41 ` BRM
  2010-11-02 16:43   ` felix
  2010-11-10 21:27 ` Enrico Weigelt
  1 sibling, 1 reply; 5+ messages in thread
From: BRM @ 2010-11-02 15:41 UTC (permalink / raw
  To: gentoo-user

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
> 
> 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Converting RCS/CVS to git
  2010-11-02 15:41 ` BRM
@ 2010-11-02 16:43   ` felix
  2010-11-02 17:11     ` BRM
  0 siblings, 1 reply; 5+ messages in thread
From: felix @ 2010-11-02 16:43 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Converting RCS/CVS to git
  2010-11-02 16:43   ` felix
@ 2010-11-02 17:11     ` BRM
  0 siblings, 0 replies; 5+ messages in thread
From: BRM @ 2010-11-02 17:11 UTC (permalink / raw
  To: gentoo-user

----- 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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Converting RCS/CVS to git
  2010-11-02  4:02 [gentoo-user] Converting RCS/CVS to git felix
  2010-11-02 15:41 ` BRM
@ 2010-11-10 21:27 ` Enrico Weigelt
  1 sibling, 0 replies; 5+ messages in thread
From: Enrico Weigelt @ 2010-11-10 21:27 UTC (permalink / raw
  To: gentoo-user

* 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
----------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-11-10 21:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-02  4:02 [gentoo-user] Converting RCS/CVS to git felix
2010-11-02 15:41 ` BRM
2010-11-02 16:43   ` felix
2010-11-02 17:11     ` BRM
2010-11-10 21:27 ` Enrico Weigelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox