On 4/1/2014 10:24 PM, Andy Goth wrote:
The attached script imports an RCS repository into Fossil.  It doesn't
support branching nor symbolic names, and it has a few peculiarities
designed to accommodate the RCS repository I just processed.

I should mention that this script opens the repository being created into a subdirectory called tmp. You're best off not having a directory with that name wherever your current working directly is.

For me, the slowest part of the import was by far the RCS checkouts. Optimizing this would require writing a custom RCS checkout implementation that doesn't have to start from scratch for each revision that's requested, since it will ultimately have to produce all revisions. It might be possible to write this code in Tcl and still have it be faster than this current implementation.

I wish Tcl had a [file tempdir] command...

--
Andy Goth | <andrew.m.goth/at/gmail/dot/com>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to