LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2009, 06:44 AM   #1
ziggy25
Member
 
Registered: Aug 2005
Distribution: Debian 5.2
Posts: 56

Rep: Reputation: 15
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
 
Old 03-05-2009, 04:57 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CVS command to know the history of tags sudhir_pathak Programming 1 02-03-2009 10:00 PM
cvs repository cvs-1.11.21.tar.gz installation problem on redhat 5 linux version ajaytiwary Linux - Newbie 1 09-30-2007 01:58 PM
After Editing Tags with JuK - XMMS do not display tags correctly Artik Linux - Software 0 07-23-2005 06:55 AM
CVS files modified between 2 tags chipix Programming 2 07-20-2004 07:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration