[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Antwort: Re: cvs2svn.py fails converting repository with the attached file

From: mark benedetto king <mbk_at_lowlatency.com>
Date: 2003-06-27 18:41:39 CEST

On Fri, Jun 27, 2003 at 10:14:16AM -0500, kfogel@collab.net wrote:
> which I'm pretty sure does not support the extended RCS file
> definition. Maybe it should, but then we'd probably also have to get
> an improved version of RCS 'co', or find some other means to obtain
> specific revisions from a ,v file...
>

I had to do some rcs file mangling recently, with thousands of revisions
of very large files. Using co directly was unacceptable because of the
O(N^2) nature.

Instead, I used a slightly modified rcsparse to extract not only the change
metadata, but the deltas themselves, and the fulltext of the HEAD.

I took HEAD and picked up the deltas in reverse order, reconstructing
all of the fulltexts in N passes (there were no branches in these
rcs files).

This gave me a tremendous speedup, but wouldn't it also allow us to
remove the requirement for "co"?

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 27 18:41:48 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.