Re: rcs import?
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Apr 12, 2007, 15:21 UTC
- Message-ID
- <Pine.LNX.4.64.0704120812000.4061@woody.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