[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Branch Tag Deleted, Can it be Re-created?
From: |
Derek Robert Price |
Subject: |
Re: Branch Tag Deleted, Can it be Re-created? |
Date: |
Fri, 20 Feb 2004 15:59:38 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jenny Lowe wrote:
> Yes, the 'cvs admin -n' command will work. I tried it on a couple files.
>
> This is the only branch that is unattached. Any ideas on how to find
the branch revisions not currently attached to a branch tag and reattach
them?
Check the CVS manual on the output of the log command. Parse the `cvs
log' output, parse all the revisions in the file, then add the branch
tag to any branch without a tag attached. The `contrib/check_cvs'
script may be instructive. It has some hooks for running your own code
on each revision, but it may bot be parsing symbolic tags.
> Also, what version of CVS will give you warnings when trying to delete
a branch? Would this version have to be on the server or client?
That change went in somewhere between 1.11.1p1 & 1.11.6. Not sure when,
exactly, but it would have to be running on the server.
Derek
- --
*8^)
Email: address@hidden
Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
iD8DBQFANnU5LD1OTBfyMaQRArkaAKCvhK+403uFSr+y9dGC7vPzm0R3cQCgz3SB
mC9FKqpG6BF+ojTwu1Z1XWU=
=20C6
-----END PGP SIGNATURE-----