I'll take a stab.  In the cvs directory on the server you could run:

   find . | grep "filename"

To find them all.

But if you want to search the commits you made, pass the filenames to:

   grep "author your_username;"

This will show you files where you made commits, but you'd be looking at
the raw source.

Am I way off or is this a god start?  



> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Hamilton, Fred
> Sent: Wednesday, September 24, 2008 11:40 AM
> To: [EMAIL PROTECTED]
> Subject: CVS "Search" function?
> 
> Hi,
> 
> I asked an employee (no longer with the company) to 
> reorganize his portion of the CVS tree for a project he was 
> working on (it was disorganized, mislabeled, there were 
> multiple copies of the same project, and you basically 
> couldn't find anything).  It turns out he apparently deleted 
> all the files in the project, reorganized a copy of a subset 
> of the files, and checked those copies back in.  We were able 
> to restore most of the files that *weren't* his, but I'm 
> trying to find the previous versions of some of the files 
> that *were* his.  
> 
> The exact example is that I wrote some code that was checked 
> in to CVS by me.  He then deleted all that code, checked it 
> in as new at a new location under his name, modified my code, 
> and, of course, there are now
> 5 different versions of this project.
> 
> So what I would ideally like to do is search for all the 
> versions of a certain filename, wherever it is, deleted or 
> not, that were checked in by me.
> 
> Is there an easy way to do this?
> 
> Is there a hard way to do this?
> 
> Thanks,
> Fred
> 
> 
> 


Reply via email to