info-cvs
[Top][All Lists]
Advanced

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

Re: Deleting a lot of tags in a productive way?


From: Hans Schwaebli
Subject: Re: Deleting a lot of tags in a productive way?
Date: Wed, 21 Mar 2007 03:23:45 -0700 (PDT)

Hi,
 
thanks for the answer.
 
We maybe will delete the tags because in our IDE they are all shown (dozens or even more), although most of them are of no value anymore. Its now a kind of visual noise because of this when looking at the tags.
 


Spiro Trikaliotis <address@hidden> wrote:
Hello Hans,

* On Wed, Mar 21, 2007 at 02:02:10AM -0700 Hans Schwaebli wrote:

> We have lots of tags on our files and would like to delete most of
> these tags.

The first questions which pops up in my head: Why do you want to delete
them? Tags are very cheap.

> Is it possible to delete all tags which have been set prior to a
> certain date or which are older than X days?

Tags do not have a date. Thus, in order to do what you want, you would
have to use something like cvs2cl.pl to find out when a tag has been
created approximately, and use that information to in an automated way
(shell script) to delete the tags.

IMHO, it is not worth the time.

> If not, what is the most productive way to delete many tags?

If you have the tag names (tag1 ... tag5), use

cvs tag -D tag1 tag2 tag3 tag4 tag5

If you have very much tags, exceeding the command line length, you might
want to have a look at the xargs Unix command (available on Windows via
Cygwin, too).

HTH,
Spiro.

--
Spiro R. Trikaliotis http://opencbm.sf.net/
http://www.trikaliotis.net/ http://www.viceteam.org/


_______________________________________________
info-cvs mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/info-cvs


Never miss an email again!
Yahoo! Toolbar
alerts you the instant new Mail arrives. Check it out.


Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel
to find your fit.


It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
reply via email to

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