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

Glen Starrett glen.starrett at march-hare.com
Fri Feb 22 02:57:22 GMT 2008


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Gerhard Fiedler wrote:
> 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.

You might also want to consider adding a time element to it, so that you 
don't remove any versions that are less than X days old even if there 
are more than Y versions, for example.



-- 
Glen Starrett
Technical Account Manager, North America
March Hare Software, LLC

http://march-hare.com/cvspro/


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook