Re: sccs2rcs to perl

2002-03-08 Thread Karl E. Jorgensen
On Fri, Mar 08, 2002 at 10:55:37AM -0800, Stephen Rasku wrote: I believe what he is refering to is that the more SCCS will get slower the more revisions you have in a file. Getting a file from RCS/CVS should be a constant time event for the latest version because RCS/CVS stores the latest

Re: sccs2rcs to perl

2002-03-08 Thread Larry Jones
Karl E. Jorgensen writes: Almost: SCCS stores the first version ad verbatim, followed by a delta for each version (=revision in RCS-speak). No, it most certainly does not. SCCS stores all of the versions in an interleaved form, something like: #inserted in revision 1: line

Re: sccs2rcs to perl

2002-03-08 Thread Michael Sterrett -Mr. Bones.-
On Thu, 7 Mar 2002, Greg A. Woods wrote: Why convert from SCCS? I don't have any larger projects managed by SCCS, but for all the small ones I have there's not much point to changing over to RCS (or CVS) -- I just keep using SCCS :-) Ok, well this is moving away from the topic I'd

Re: sccs2rcs to perl

2002-03-08 Thread Larry Jones
Michael Sterrett -Mr. Bones.- writes: Well, at this moment, we have 1835 SCCS directories and an absolute ton of source. SCCS isn't the fastest thing to use -- I believe RCS blows it out of the water in the most common case of getting the most recent version out of the repository --

Re: sccs2rcs to perl

2002-03-08 Thread Stephen Rasku
Subject: Re: sccs2rcs to perl To: [EMAIL PROTECTED] (Michael Sterrett -Mr. Bones.-) Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] From: [EMAIL PROTECTED] (Larry Jones) List-Archive: http://mail.gnu.org/pipermail/bug-cvs/ Date: Fri, 8 Mar 2002 13:39:01 -0500 (EST

Re: sccs2rcs to perl

2002-03-08 Thread Larry Jones
Stephen Rasku writes: I believe what he is refering to is that the more SCCS will get slower the more revisions you have in a file. Getting a file from RCS/CVS should be a constant time event for the latest version because RCS/CVS stores the latest revision verbatim. However, as I

Re: sccs2rcs to perl

2002-03-08 Thread Stephen Rasku
Larry Jones wrote: Stephen Rasku writes: I believe what he is refering to is that the more SCCS will get slower the more revisions you have in a file. Getting a file from RCS/CVS should be a constant time event for the latest version because RCS/CVS stores the latest revision verbatim.

Re: sccs2rcs to perl

2002-03-08 Thread Greg A. Woods
[ On Friday, March 8, 2002 at 13:24:16 (-0500), Michael Sterrett -Mr. Bones.- wrote: ] Subject: Re: sccs2rcs to perl Well, at this moment, we have 1835 SCCS directories and an absolute ton of source. SCCS isn't the fastest thing to use -- I believe RCS blows it out of the water in the most

Re: sccs2rcs to perl

2002-03-08 Thread Michael Sterrett -Mr. Bones.-
On Fri, 8 Mar 2002, Larry Jones wrote: SCCS can retrieve any revision in one pass through the file. As you say, there are the equivalent of #ifdefs that specify which revisions include the following lines , so there's very little processing time, it's mostly just I/O time. CVS as currently

Re: sccs2rcs to perl

2002-03-08 Thread Stephen Rasku
Michael Sterrett wrote: All of this discussion is interesting to me, but what I'd really like to see is something done about the sccs2rcs script. Is there any real gain in continuing to ship it with CVS given the fact that it doesn't seem to be maintained by anyone (at least,

Re: sccs2rcs to perl

2002-03-08 Thread Larry Jones
Stephen Rasku writes: Really? Looking at a sample ,v file I can see the latest revision stored intact near the top of the file. I don't know why it would have to read the other revisions. I didn't say it has to, I said it does. It makes the code simpler to get all the data from the RCS

Re: sccs2rcs to perl

2002-03-08 Thread Larry Jones
Michael Sterrett -Mr. Bones.- writes: When was the last time you used SCCS for a large project? RCS is *way* faster, at least at getting the latest version of the file for edit. It's not super easy for me to test right now, but I imagine CVS is equally quick. You imagine

Re: sccs2rcs to perl

2002-03-07 Thread Larry Jones
Michael Sterrett -Mr. Bones.- writes: It would be nice to receive some comment from the CVS development team. This is the third time I've sent this out the the mailing lists with not a peep from anyone about it. Very disappointing. contrib/README: Unsupported also means that no one has

Re: sccs2rcs to perl

2002-03-07 Thread Michael Sterrett -Mr. Bones.-
On Thu, 7 Mar 2002, Larry Jones wrote: contrib/README: Unsupported also means that no one has volunteered to accept and check in changes to this directory. So submissions for new scripts to add here are unlikely to be accepted. Suggested changes to the existing scripts here conceivably

Re: sccs2rcs to perl

2002-03-07 Thread Larry Jones
Michael Sterrett -Mr. Bones.- writes: I see a problem with the CVS code as distributed. That is, it has a single csh script which is both slow and makes the CVS code-base depend on an additional unix utility when it doesn't have to. I believe I addressed both of these

Re: sccs2rcs to perl

2002-03-07 Thread Michael Sterrett -Mr. Bones.-
On Thu, 7 Mar 2002, Larry Jones wrote: Anybody with sccs, CVS, make, and perl almost certainly already has csh, Well, I don't - at least, I wouldn't if I didn't have to because CVS depends on csh *only* because of the sccs2rcs csh script. I'd love to remove csh from my system, but that would

Re: sccs2rcs to perl

2002-03-07 Thread Greg A. Woods
[ On Thursday, March 7, 2002 at 16:46:04 (-0500), Michael Sterrett -Mr. Bones.- wrote: ] Subject: Re: sccs2rcs to perl I see a problem with the CVS code as distributed. That is, it has a single csh script which is both slow and makes the CVS code-base depend on an additional

Re: sccs2rcs to perl

2002-03-07 Thread Michael Sterrett -Mr. Bones.-
On Thu, 7 Mar 2002, Greg A. Woods wrote: [ On Thursday, March 7, 2002 at 16:46:04 (-0500), Michael Sterrett -Mr. Bones$ Subject: Re: sccs2rcs to perl I see a problem with the CVS code as distributed. That is, it has a single csh script which is both slow and makes the CVS code

Re: sccs2rcs to perl

2002-03-07 Thread Greg A. Woods
[ On Thursday, March 7, 2002 at 17:21:08 (-0500), Michael Sterrett -Mr. Bones.- wrote: ] Subject: Re: sccs2rcs to perl Well, I don't - at least, I wouldn't if I didn't have to because CVS depends on csh *only* because of the sccs2rcs csh script. I'd love to remove csh from my system

Re: sccs2rcs to perl

2002-03-07 Thread Greg A. Woods
[ On Thursday, March 7, 2002 at 18:06:22 (-0500), Michael Sterrett -Mr. Bones.- wrote: ] Subject: Re: sccs2rcs to perl All the Linux distributions I have access too include sccs2rcs as part of the CVS package because it is distributed as part of the CVS tar ball. Because of that, I consider

Re: sccs2rcs to perl

2002-03-07 Thread Michael Sterrett -Mr. Bones.-
On Thu, 7 Mar 2002, Greg A. Woods wrote: I removed csh from almost all of my systems long ago. Ah, I envy you. :-) I refuse to ignore the package dependencies on my systems though... I still have no interest in re-writing sccs2rcs into perl though :-) Well, I did it for two reasons

Re: sccs2rcs to perl

2002-03-07 Thread Greg A. Woods
[ On Thursday, March 7, 2002 at 18:40:03 (-0500), Michael Sterrett -Mr. Bones.- wrote: ] Subject: Re: sccs2rcs to perl 2. I have a bunch of SCCS directories I need to convert to RCS and the csh version of the script is way too slow. Is? was? :-) Why convert from SCCS? I don't

sccs2rcs to perl

2002-03-06 Thread Michael Sterrett -Mr. Bones.-
in contrib. Sorry if sending to you directly is a faux pas. --CUT--- #! @PERL@ -w # -*-Perl-*- use strict; # # Sccs2rcs is a script to convert an existing SCCS history into an RCS # history without losing any of the information