Re: [gentoo-user] Converting RCS/CVS to git

2010-11-10 Thread Enrico Weigelt
* fe...@crowfix.com fe...@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: weig...@metux.de
 mobile: +49 151 27565287  icq:   210169427 skype: nekrad666
--
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
--



Re: [gentoo-user] Converting RCS/CVS to git

2010-11-02 Thread BRM
The cvs2svn project also has a cvs2git tool.

http://cvs2svn.tigris.org/

HTH,

Ben




- Original Message 
 From: fe...@crowfix.com fe...@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 / fe...@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
 
 



Re: [gentoo-user] Converting RCS/CVS to git

2010-11-02 Thread felix
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 / fe...@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



Re: [gentoo-user] Converting RCS/CVS to git

2010-11-02 Thread BRM
- Original Message 

 From: fe...@crowfix.com fe...@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