1

I would like to know the latest cvs tag name of my project,

Is "tag" the same thing with "version"? If yes, how can I know which is the most recent tag in my project?

I do the following to check out the latest version of my project:

cvs co -d new_version my_project

So, which tag does above check out?

alwbtc
  • 28,057
  • 62
  • 134
  • 188

1 Answers1

1

Tag isn't the same than version, and you cannot determine the creation date of a tag, as mentioned in "How to get a list of tags created in CVS repository?".
That answer gives a script to approximate the date of the tag.

And you can list all the tags, as mentioned in "List all tags within a module in CVS in CLI".

Combining the two, you should be able to determine the most recent tags, compared to the one you just checked out.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • @alwbtc you don't: http://stackoverflow.com/a/955468/6309. See cvs log a a file: http://www.tigris.org/nonav/scdocs/ddUsingCVS_command-line.html – VonC Nov 28 '12 at 18:46