threads / discuss / 7627

rcs import?

Subject: rcs import?

## tl;dr

3 messages between Apr 12, 2007 and Apr 12, 2007.

replies: 2people: 3as markdown or json

James Cloos· Apr 12, 2007, 11:00 UTC · lore
Has anyone written import support for rcs repos?
(I've a few config hierarchies using RCS I'd like to convert.)
-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6
Simon 'corecode' Schubert· Apr 12, 2007, 15:09 UTC · re: James Cloos · lore

Re: rcs import?

James Cloos wrote:
> Has anyone written import support for rcs repos?
> 
> (I've a few config hierarchies using RCS I'd like to convert.)
you can use my fromcvs importer, which should work with RCS repos as well.  tell me how it works.
cheers
  simon
-- 
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
Linus Torvalds· Apr 12, 2007, 15:21 UTC · re: James Cloos · lore

Re: rcs import?

On Thu, 12 Apr 2007, James Cloos wrote:
>
> Has anyone written import support for rcs repos?
> 
> (I've a few config hierarchies using RCS I'd like to convert.)
Just migrate to CVS first, and then use "git cvsimport".

CVS obviously *uses* RCS as the individual file format, so migrating a set of RCS files to CVS really is pretty damn trivial. It's basically just copying the RCS *,v files over to the appropriate CVSROOT directory structure and adding some Entries files. I think CVS even comes with a "rcs-to-cvs" conversion script.

Yeah, just checked: google for "rcs-to-cvs.sh"

(I don't know how well it works, but I can't imagine that it won't do a good job. CVS really largely is "RCS with some scripts around it")

		Linus

← back to recent threads