LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-23-2012, 04:44 AM   #1
m4rtin
Member
 
Registered: Sep 2007
Posts: 261

Rep: Reputation: 16
Question find file revision in CVS where particular change was made


Is there an easy way to find a file revision in CVS where particular change was made? For example I have a file with latest revision 1.351. I can use "cvs annotate <filename>", but this displays only the last change for each line in revision 1.351. I could do a for loop which diffs all the revisions starting from 1.1 to 1.351 with each other and then allows me to grep the output, but is there a more convenient method for this?
 
Old 10-23-2012, 06:44 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
You can get into ${CVSROOT}/project and look a the repository file (filename,v) with an editor, grep, etc. The changes, with version numbers, are in each file. I don't know a a good way to look other than that.

Now, 351 changes? Well, good luck with that, eh?

Hope this helps some.
 
  


Reply



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
[SOLVED] CVS lock file -- I can't find it to remove it! dwhitney67 Programming 1 05-09-2011 12:35 PM
cvs revision number questions rfelsburg Linux - Software 1 07-23-2010 04:20 PM
how do I delete a revision in cvs ShaqDiesel Linux - Newbie 2 11-04-2008 03:12 PM
cvs log initial revision and first change off a vendor branch diven Linux - Software 0 06-21-2007 01:58 PM
cvs revision problem leonidg Linux - Software 4 02-28-2005 03:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:55 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
Open Source Consulting | Domain Registration