info-cvs
[Top][All Lists]
Advanced

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

Re: deleting a branch


From: Russ Sherk
Subject: Re: deleting a branch
Date: Fri, 9 Sep 2005 09:06:46 -0400

On 9/9/05, Victor Safronovich <address@hidden> wrote:
> Hello all!
> 
>  I have a medium cvs experience, i know how to delete a tag(cvs rtag -d), but 
> when i delete a
>  branch(cvs rtag -d my_branch my_module), i receive following message:
>  [...skip...]
>   W /home/cvs/nausite/my_module/file1.tmp,v : my_branch is branch tag : NOT 
> DELETING
>   W /home/cvs/nausite/my_module/file2.tmp,v : my_branch is branch tag : NOT 
> DELETING
>   W /home/cvs/nausite/my_module/file3.tmp,v : my_branch is branch tag : NOT 
> DELETING
>   W /home/cvs/nausite/my_module/file4.tmp,v : my_branch is branch tag : NOT 
> DELETING
>   W /home/cvs/nausite/my_module/file5.tmp,v : my_branch is branch tag : NOT 
> DELETING
>  [...skip...]
> 
>  What  am  i  doing  wrong?  and  Is  deleting  a  branch  a  safe operation 
> for
>  repository?

>From rtag help:
------------------------
Usage: cvs rtag [-abdFflnR] [-r rev|-D date] tag modules...
        -d      Delete the given tag.
        -F      Move tag if it already exists.
!!        -B      Allow move/delete of branch tag (not recommended).  !!
------------------------

Use with caution.  I think it is dangerous because it perminantly
removes all revisions on the branch (physically deletes them from the
repository).  So be sure you want to remove them.  The difference is
that a regular tag just points to or references a version (MY_TAG=1.3
for myfile.txt)  so deleting a regular tag just removes the reference.
 Whereas a branch tag creates a new branch on the tree where revisions
live.  Removing the branch removes the home for the revisions and they
are lost in the ether floating aimlessly...

Regards,

--Russ

> 
> --
> Best regards,
>  Victor Safronovich
>  NauMen.NauDoc.SoftwareDeveloper  http://www.naumen.com
> 
> 
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/info-cvs
>




reply via email to

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