[Top][All Lists]

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

Re: Delete/cleanup tags

From: Michael Haggerty
Subject: Re: Delete/cleanup tags
Date: Fri, 13 Jul 2007 12:11:36 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20070604 Thunderbird/ Mnenhy/

seetha natarajan wrote:
> Yes, these are non-branch tags I'm referring to.
> There are 2 reasons why I want to cleanup these tags:
> 1. When I run 'cvs log' command on any file, these unwanted tags show up
> and cause confusion in identifying the tags which I looking for.
> 2. The number of tags that get created each week is high.
> For branch tag deletion, I think the command is
> cvs tag -d -b <branch-name>
> In this case, for the branch tag deletion, would the branch code be
> lost? But I suppose that should be ok as long as the code is present in
> the trunk.

I *strongly* recommend against deleting branch tags in the way that you
have described.  This command deletes the *names* of the branches, but
doesn't delete the revisions on the branches.  Therefore, it hardly
saves any space, but it leaves "orphaned", unnamed branches in the
repository and discards information that will be useful when you some
day decide to convert your CVS repository to another format (such as
with the tool I work on, cvs2svn).

It is possible to delete the branch including its contents with "cvs
admin -o", but this is a rather fidgety process that leaves many
opportunities for errors.


reply via email to

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