[cvsnt] RCS file become too big

Czarnowski, Aric aczarnowski at unimax.com
Wed Dec 3 15:08:36 GMT 2003


Has anybody scripted something to remove non required revisions from a
binary using the admin command?  We, and I would guess many others, have
the same problem of huge binary archives we would like to cut down.

By "non required revisions" I mean any revision that is not a tip and is
not tagged.

I have a Perl script that tries to do this but it saves entire branches
and I would feel safer using or looking over something that has been
around a while longer, i.e. has been tested a little more.

Don't ask why we are in this situation.  It's a long and internally
political story...

--Aric

Aric Czarnowski
Unimax Systems Corporation
612-204-3634



-----Original Message-----
From: Bo Berglund [mailto:Bo.Berglund at system3r.se]
Subject: RE: [cvsnt] RCS file become too big


cvs admin -o rev1:rev2 filename
This will permanently remove all revisions between rev1 and rev2
including these two.

Example:
cvs admin -o 1.2:1.24 mybigfile.bin
Will remove the revisions 1.2-1.24 inclusive of the file

More information here:
http://www.cvsnt.org/wiki/CvsCommand#head-d033e22ae348aeb5660fc2140aec35
850c4da997


/Bo



More information about the cvsnt mailing list