info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS "Search" function?


From: Todd Denniston
Subject: Re: CVS "Search" function?
Date: Thu, 25 Sep 2008 09:30:40 -0400
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hamilton, Fred wrote, On 09/24/2008 12:39 PM:
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




I think we need a bit more information.
When you say "He then deleted all that code" do you mean:
A) he logged into the cvs server (or accessed the NFS drive) an executed `rm important/code/`.
or
B) in his sandbox he executed
`cvs remove -f important/code;cvs commit -m "hurt these guys"`. ????

You do have backups of the repository prior to his changes, RIGHT????

To answer the two questions at the end of your email: maybe, probably. :)


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]