[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Removing a branch
From: |
Jim Hyslop |
Subject: |
Re: Removing a branch |
Date: |
Mon, 05 Dec 2005 12:50:42 -0500 |
User-agent: |
Mozilla Thunderbird 1.0.6 (Windows/20050716) |
-----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-----