info-cvs
[Top][All Lists]
Advanced

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

Re: Tags on a branch


From: Jim Hyslop
Subject: Re: Tags on a branch
Date: Fri, 14 Apr 2006 23:44:03 -0400
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

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

Norman Crisp wrote:
> Hello all,
> 
> Is there a way to produce a list of all tags that has been used in a branch?

I think the only way to tell would be to write a script, and compare the
numeric revision of the symbolic tags against the numeric revision of
the branch tag.

For example, if 'cvs status -v' shows:
Existing tags:
        tag_a           (revision: 1.3.2.3)
        the_branch      (branch: 1.3.2)
        tag_b           (revision: 1.4)

then tag_a is on the branch tag_b is on the trunk.

This might have to be done on a file-by-file basis.

- --
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

iD8DBQFEQGwDLdDyDwyJw+MRAuwcAKCQ1iiL3ZH/nNVLYDLlGaoqmaVnyACeOdpe
h0vxrOgpOfp1wAq1t7TXOjE=
=od8U
-----END PGP SIGNATURE-----





reply via email to

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