help-rcs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trimming old diffs to save space


From: Aaron S. Hawley
Subject: Re: Trimming old diffs to save space
Date: Tue, 25 Feb 2003 17:23:12 -0500 (EST)

right, what i mentioned outdates _all_ revision information.

i understand what you asked now.

what you want to accomplish is legitimate.  however, i think the RCS
philosophy would be, "What do you want to keep the log information for and
not the revisions?!".

you could keep the logs by storing rlog output to file, and then using the
`rcs -o` outdating command to remove everything.

i'll be interested to hear if RCS is okay with empty deltas (diffs).
/a

On Tue, 25 Feb 2003, Ed Avis wrote:

> On Sun, 23 Feb 2003, Aaron S. Hawley wrote:
>
> >well there is the outdating option `rcs -o`,
>
> I think that the intention of that is to remove old revisions, whereas
> I would like to keep the log messages, tags and other stuff, just
> remove the content of the particular revision (which means removing
> its diffs from the later version - assume I want to remove all
> diffs older than a certain point).
>
> Ideally, I'd like to have some -O option like:
>
> % rcs -O1.55: foo
> % rcs log foo
> [prints full log, same as before]
> % co -r1.55 foo
> Error: content of revision 1.55 has been deleted
>
> However I will settle for
>
> % co -r1.55 foo
> [checks out 1.56, since the diffs for 1.55 have been replaced with an
>  empty string]
> % co -r1.54 foo
> [will be broken, because the necessary chain of diffs from the latest
>  revision isn't complete.  So if you delete 1.55 you'd better delete
>  all the ones before it too]
>
> and I will settle for implementing this by hand rather than having a
> neat option for it.
>
> >i'm pretty sure you can still use the outdating feature, but then
> >manually (i assume can be done automatically via Perl) removing the
> >outdated revisions, which are placed at the bottom of the file.
>
> I think this will remove the log messages, so it's not what I want.
>
> >of course be sure to backup your RCS files before trying any of
> >this!!
>
> No problem, I'll just keep them under version control :-).

-- 
__________________________________________
PINE 4.53 Mailer - www.washington.edu/pine




reply via email to

[Prev in Thread] Current Thread [Next in Thread]