# rcs import?

3 messages from 2007-04-12 to 2007-04-12. Participants: James Cloos, Simon 'corecode' Schubert, Linus Torvalds.
Thread: https://gitlist.dev/t/7627

## James Cloos, 2007-04-12 11:00

Subject: rcs import?
Message-ID: <m3r6qpdfhx.fsf@lugabout.jhcloos.org>
URL: https://gitlist.dev/e/m3r6qpdfhx.fsf%40lugabout.jhcloos.org

```
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, 2007-04-12 15:09

Subject: Re: rcs import?
Message-ID: <461E4B91.5020602@fs.ei.tum.de>
URL: https://gitlist.dev/e/461E4B91.5020602%40fs.ei.tum.de
In-Reply-To: <m3r6qpdfhx.fsf@lugabout.jhcloos.org>

```
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, 2007-04-12 15:21

Subject: Re: rcs import?
Message-ID: <Pine.LNX.4.64.0704120812000.4061@woody.linux-foundation.org>
URL: https://gitlist.dev/e/Pine.LNX.4.64.0704120812000.4061%40woody.linux-foundation.org
In-Reply-To: <m3r6qpdfhx.fsf@lugabout.jhcloos.org>

```


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

```
