[cvsnt] Re: Remove old files from the repository?

Gerhard Fiedler lists at connectionbrazil.com
Fri Jun 10 11:50:14 BST 2005


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.


Glen Starrett wrote:

> BEAUCHAMP, MICHAEL J. wrote:
>> I have a large web app with about 10,000 files (and growing).  For legal
>> reasons, my company wants to remove files or versions of files
>> (revisions) that are more than 2 years out of date. So far the only
>> thing I've found is the admin -o command and option, but aside from
>> being dangerous, I can't figure out a way to do more than one file at a
>> time in WinCVS. 
> 
> I haven't looked at it, but is the WinCVS method a script?  If it is, 
> then you could wrap it with a call for each file in your repository.

Not sure what you mean by "script", but there are two GUI functions in
WinCvs in the graph window: select all non-significant revisions (i.e. that
don't have a tag) and delete selected revisions.

I don't think either one serves well for this. The "select non-significant"
function doesn't consider the date. And the "delete selected revisions"
deletes them one by one, which can take quite a bit longer than using
ranges.

I think you'd have to script that for yourself. Maybe there are some
interface functions in Wincvs that help you with parsing the log output.

Gerhard



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