Re: Retrieve last TAG name

"Mark D. Baushke" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
Rapthor <[email protected]> writes:

> is there a way to retrieve the name of the latest CVS-Tag in the
> repository?

No. Tags are kept per file. A tag used on one file may or may not be
related to some other file in the repository.

> Let's say I tagged a directory including all files with a version
> VERSION_1_0_2_3. How do I retrieve this name via CVS command?

You will see tags listed when you do a 'cvs log' or 'cvs rlog' command.

To get the most recent, you would need to look at the date of the
revision for each tag perfile and sort by that date to find the most
recently committed delta with an associated tag name.

	-- Mark
signature.asc (application/pgp-signature, 186 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFLj96qCg7APGsDnFERAoBEAJ9OdhXwNggHnDgJM5Mujq3FBh2NXACg5z34
h+mRMf9C+y2yAIKdglzJS3g=
=oHfD
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.