unix - cvs delete all versions -


i have set of files in cvs each multiple versions. there no need have files , versions in cvs, space. remove files entirely cvs (all versions). noticed

cvs delete file1  

followed by

cvs commit  

only removes last version of file cvs. how remove versions of file.

thanks!

seriously consider ramifications before doing this. use of version control supports tracking history. cannot recommend continuing course of action.

removing versions of file frowned upon in sense alters history - tagged revision sets altered no longer represent saved historical state.

you might know front cvs not allow removing revisions. @ least 1 revision must retained. solution follows intended cvs authors used collapse intermediate revisions between revisions single change. remaining revision(s) may cvs removed, cannot totally removed repository without performing surgery on repository.

warning: use of cvs admin -o causes sorts of problems in sandbox. not trivial avoid causing manner of evil symptoms occurring after using solution below.

notwithstanding warnings , advice not this, if persist in desire against , sound advice, cvs admin -o:

cvs --help admin ...         -o range   delete (outdate) specified range of revisions:            rev1:rev2   between rev1 , rev2, including rev1 , rev2.            rev1::rev2  between rev1 , rev2, excluding rev1 , rev2.            rev:        rev , following revisions on same branch.            rev::       after rev on same branch.            :rev        rev , previous revisions on same branch.            ::rev       before rev on same branch.            rev         rev. ... 

Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -