> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Renshaw > Sent: Wednesday, August 29, 2007 7:42 PM > To: [email protected] > Subject: Got a complex problem on my hands > > Hi, > > I have 2 devs working in the same repository. Dev1 made a pretty big mistake and asked me if it was possible to revert all the files he modified back to 2 days ago (Monday) without touching to the files that dev2 modified. And this is for everything in that repository. > > I know how to revert everything to a specific day but I do not know how to only revert files checked in by a specific dev. > > What are my options? > > Thanks! > Simon
Get Bonsai (http://www.mozilla.org/projects/bonsai/ ) and set it up, have it build its database from the cvs history. Then use it to query everything dev1 did in the specified time frame. When it's showing you a list of commits that includes everything you want to rollback and nothing that you don't, hit the magic link at the top entitled "show the commands to back out these changes" save the resulting text to a .bat or .sh file, execute it.... Viola! Of course, if there are overlapping commits, you're probably going to have to do those by hand, but this should get a bunch of it done.... -- Kelly F. Hickel Senior Product Architect MQSoftware, Inc. 952-345-8677 Office 952-345-8721 Fax [EMAIL PROTECTED] www.mqsoftware.com SEE BUSINESS WORK
