[cvsnt] Keeping only the last few versions in the repository

Gerhard Fiedler lists at connectionbrazil.com
Thu Feb 21 11:51:28 GMT 2008


Arthur Barrett wrote:

>> Basically I would like to automaticaly delete 
>> old revisions.
> 
> Deleting old revisions is not recommended.

A way to do it (recommended or not :) is to write a script that parses the
log output, determines whether the file fits the criteria, and removes it.
Possibly the Python API included in WinCvs helps with that.

You may want to exclude any revisions that have tags on them from removing,
for example.

Gerhard


More information about the cvsnt mailing list