[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing multiple tags at the same time

From: Eric Siegerman
Subject: Re: Removing multiple tags at the same time
Date: Tue, 25 Sep 2001 20:06:35 -0400
User-agent: Mutt/1.2.5i

On Tue, Sep 25, 2001 at 04:07:37PM -0700, Pyatt, Scott wrote:
> We have roughly 100 useless old label tags spanning over 15K files.  Is
> there any CVS mechanism to remove more than one label tag at a time?  I
> realize I could create a simple script to call "cvs rtag" for each tag to be
> removed.  Unfortunately, that would lock our entire source tree for 3 hours
> for each tag being removed.  I'm looking for a more efficient solution.

One per night from a cron job?  It'll be done by New Years :-)

Seriously, you might be able to use:
        cvs admin -ntag1 -ntag2 -ntag3 ...
and then clean up CVSROOT/val-tags by hand.

I haven't tried it, so be careful.  Especially, I'm not sure if
it'll find files in the Attic (or otherwise not present in the
current sandbox).

Or hack rtag to do it.  Doesn't need to be a submittable patch
with test cases and all if you only need it once...


|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
The world has been attacked.  The world must respond ... [but] we must
be guided by a commitment to do what works in the long run, not by what
makes us feel better in the short run.
        - Jean Chr├ętien, Prime Minister of Canada

reply via email to

[Prev in Thread] Current Thread [Next in Thread]