[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Removing a branch
From: |
Mark D. Baushke |
Subject: |
Re: Removing a branch |
Date: |
Mon, 05 Dec 2005 09:34:45 -0800 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Norman Crisp <address@hidden> writes:
> 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.
>
> 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?
The tag command operates on files that have been checked out of the
repository.
You probably want
cvs rtag -d -B BRANCHNAME MODULE
where MODULE is the top-level module or modules for your sources.
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFDlHo0Cg7APGsDnFERAi2lAKCDGbSY9PtypqDirZtUWvUhL7/zSQCgxleN
uGFvNuTwToAwwzSvkmw8Vxw=
=lVvG
-----END PGP SIGNATURE-----