[cvsnt] Re: Removing many tags from a module

Glen Starrett grstarrett at cox.net
Fri Jun 10 00:04:20 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.


Edward Patterson wrote:
> Does anyone know a simple way to remove several hundred tags from a
> CVSNT module. Our module is over 450 mb and has over 1 thousand tags.
> It takes about 10 to 15 minutes to remove one tag from the whole
> module in WINCVS. Is there a simpler way to do this?

The easiest way is to use a script (e.g. a .bat or .cmd file) and let it 
run.  Get a list of the tags to remove with "cvs status -v {file}" or an 
rlog command, then for each tag you want to remove, put a line in your 
tag-removal script:

cvs -Q rtag -d UnnecessaryTagName ModuleName

over and over and over... then just let it run.  rtag will get all the 
files (not just the ones in your sandbox, in case you have some removed 
files).  The -Q stops almost all the informational text that is output 
by the server and might speed up the operation if bandwidth is limited.

Just be sure you aren't removing any tags you want to keep -- this 
operation isn't reversible!  Along the same lines, backup your 
repository before starting (always a good idea to have a recent backup).

-- 
Glen Starrett



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