• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CVS Search

 
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does anyone has an idea on how to search CVS
 
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Search it for what? CVS is file based so you could search the underlying files on the operating system if you are just looking for text. if you are looking for specific data, CVS commands may help.
 
Darya Akbari
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm looking for some free tool that allows me to search CVS for comments (those you write when you commit to CVS) or for code fragments without previously checking out everything.

Do you mean that everyone should go to the CVS server and do these search things by hand? That could be dangerous with the wrong command.
 
Jeanne Boyarsky
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Darya Akbari:
I'm looking for some free tool that allows me to search CVS for comments (those you write when you commit to CVS)


For comments, you can use the "cvs log" command and search the output. I'm sure there is a tool that automates more of this, but I haven't used one. UNIX grep and "cvs log" were powerful enough for my needs.


for code fragments without previously checking out everything.


Never needed to do this, but a quick search found CVS search.


Do you mean that everyone should go to the CVS server and do these search things by hand? That could be dangerous with the wrong command.


Not particularly. I was just mentioning that the files are there. As general practice, I would recommend checking out the code and searching that.

At the time of my first post, I thought that a tool would have to go against those files to get at the data (code fragments) without checking out. Which seems fairly equivalent to doing it by hand. After I read about CVSSearch, I realized it can be done through the comment history because at some point all the code was a comment (in verbose mode.) However, getting all the comments since the beginning of the repository seems less efficient than just checking out the HEAD. What are you trying to accomplish by avoiding a checkout?
 
Darya Akbari
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jeanne Boyarsky:
What are you trying to accomplish by avoiding a checkout?



To avoid waste of time . There is sometimes information hidden in those comments done during commit.

I'll take a look to CVSSearch, thanks for the link.
 
reply
    Bookmark Topic Watch Topic
  • New Topic