info-cvs
[Top][All Lists]
Advanced

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

RE: Removing a branch


From: Norman Crisp
Subject: RE: Removing a branch
Date: Mon, 5 Dec 2005 13:32:08 -0500

 Thanks again,

Using rtag followed by the module name looks like it's doing the trick.

cvs rtag -d -B BRANCHNAME MODULENAME

Norm.

-----Original Message-----
From: Jim Hyslop [mailto:address@hidden 
Sent: Monday, December 05, 2005 12:51 PM
To: Norman Crisp
Cc: address@hidden
Subject: Re: Removing a branch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Norman Crisp wrote:
> I'm attempting to remove a branch that was just created, so it can be 
> recreated at a later time with more changes to the trunk.  The reading 
> that I have done warns me that this is a dangerous exercise and should 
> be avoided, but as there have been no changes to the branch I would 
> simply like to just get rid of it.

This is one case where it is safe to delete the branch.

> I believe the command to be:
> cvs tag -d -B BRANCHNAME
> 
> What I get in return is:
> cvs tag: in directory .:
> cvs [tag aborted]: there is no version here; run 'cvs checkout' first
> 
> I'm a little confused, do I need to checkout the branch first, so I 
> can then remove it?

No, you don't need to check out the branch first (in fact, it's better if
you don't, otherwise you might confuse CVS a little).

You must, however, run it from within a working directory that has the
project checked out.

Or, you can use the 'rtag' command instead of 'tag', in which case you don't
need a working directory at all.

- --
Jim Hyslop
Dreampossible: Better software. Simply.     http://www.dreampossible.ca
                 Consulting * Mentoring * Training in
    C/C++ * OOD * SW Development & Practices * Version Management -----BEGIN
PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDlH3yLdDyDwyJw+MRAitOAKDhBQpXwVmnL9ImneV7kA6tAgLcSQCeKSaZ
rEi5Yv7zLK+fT9s6slI1CYk=
=+RG9
-----END PGP SIGNATURE-----






reply via email to

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