How to find out which CVS tags cover which files and paths?

cvs
Ignas Limanauskas picture Ignas Limanauskas · Aug 26, 2008 · Viewed 27.6k times · Source

There is a legacy CVS repository, which contains a large number of directories, sub-directories, and paths. There is also a large number of branches and tags that do not necessarilly cover all paths & files - usually a subset. How can I find out, which branch / tag covers, which files and paths?

CVS log already provides the list of tags per file. The task requires me to transpose this into files per tag. I could not find such functionality in current WinCVS (CVSNT) implementation. Given ample empty cycles I can write a Perl script that would do that, the algorithm is not complex, but it needs to be done.

I would imagine there are some people who needed such information and solved this problem. Thus, I think should be a readily available (open source / free) tool for this.

Answer

Joakim Elofsson picture Joakim Elofsson · Jun 23, 2009

To list tags on a file one can also do:

cvs status -v <file>