views:

18

answers:

1

I need to write a shell script to check the existence of certain CVS tag in the repository, and do different things depending on the result. So hence is my question: How to check for CVS tag existence and parse the result in shell script?

A: 

Well, assuming you have all the permissions/credentials, you can check for a cvs tag in the following way:

cvs status <filename> | grep <tagname>
pavanlimo