LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CVS tags (https://www.linuxquestions.org/questions/linux-newbie-8/cvs-tags-709074/)

ziggy25 03-04-2009 05:44 AM

CVS tags
 
Hi guys,

I use a tool called merant PVCS on a windows environment. I have recently been doing some work on Unix's CVS and im struggling to find out how to produce a revision report.

Using Merant PVCS, i was able to produce a report with all files that have a specific tag. For example the output could look something like this if i ask it to generate a report for all files that have the "Fault365" tag.

Code:


H:\services\pvcs.archives\src\N - ead\EDIREAD.C_v - Fault365 : 1.2
H:\services\pvcs.archives\src\N - ead\EDIREAD.H_v - Fault365 : 1.1
H:\services\pvcs.archives\src\N - end\edisend.c_v - Fault365 : 1.2

It basicaly just produces a report that lists all the files that have the Fault365 tag and shows the path to the file name and what version it currently is at. I am trying to produce a similar report on cvs on Unix and cant do it. Is it possible?

Thanks

paulsm4 03-05-2009 03:57 PM

I think something like this should do it:
Quote:

cvs -n co -rMYTAG MYPROJECT
CVS definitely supports tags, but it's entirely optional whether any of your modules use them.

"cvs -n -co" does a "checkout" .. without actually checking anything out. This will just print the name of any file tagged with "MYTAG" in your project.

Substitute your actual tag and project names for "MYTAG" and "MYPROJECT", of course.

'Hope that helps .. PSM


All times are GMT -5. The time now is 06:28 PM.