Skip to contentSkip to conversation

rcs import?

DISCUSSION James Cloos 3 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Has anyone written import support for rcs repos?

(I've a few config hierarchies using RCS I'd like to convert.)

-JimC

Signature · 1 line
James Cloos <[email protected]>         OpenPGP: 1024D/ED7DAEA6
#1 lore raw
Quoted 3 lines · James Cloos

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

Signature · 4 lines
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   / \
#2 lore raw
In reply to James Cloos
Quoted 4 lines · James Cloos

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