I have a method that was removed.
The last change to that method was Aug1/2005 -- but the method was there after that. The question is -- when was the method deleted. Can I find that out easily? -- Dennis Smith +1 416.798.7948 Cherniak Software Development Corporation Fax: +1 416.798.0948 509-2001 Sheppard Avenue East [hidden email] Toronto, ON M2J 4Z8 sip:[hidden email] Canada http://www.CherniakSoftware.com Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
You can get the info with Store UI tools.
(1) Use menu item VisualLauncher> Store> Browse Definitions> Selector... and type in the name of the deleted method. Alternatively, if you have an image that still holds this method, select the method with a refactoring browser and use menu item "Store> Browse Versions". Both procedures will bring up a Store version list browser for the requested method. (2) In this version browser, use menu item "Containing Packages...". This will open a package version list browser showing all package versions that ever held the deleted method. The list is sorted (don't know which direction), so you can easily see the last version that held the deleted method. Of course, this manual approach is appropriate for small lists of methods. Just ask, if you need a database query for extensive search for lots of methods. Cheers Holger Guhl -- Senior Consultant * Certified Scrum Master * [hidden email] Tel: +49 231 9 75 99 21 * Fax: +49 231 9 75 99 20 Georg Heeg eK Dortmund Handelsregister: Amtsgericht Dortmund A 12812 Dennis Smith schrieb: > I have a method that was removed. > > The last change to that method was Aug1/2005 -- but the method was > there after that. > > The question is -- when was the method deleted. Can I find that out > easily? > > _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Dennis smith-4
Dennis:
> The question is -- when was the method deleted. Can I find that out > easily? Since you asked "easily", the answer is: No. Except when doing a Store GC, no table row is ever deleted in Store, nor is a table row ever updated. Store ONLY does inserts. What happens (in effect) when you delete a method and publish the (now non-containing) package, the tw_methods table writes out a list of package ids and related method ids, and leaves out the "deleted" method. If you load a version of the containing package, and select the method, and look at versions, then select the newest version of that, and look at containing packages, and then write down the newest package, then look at all versions of the package and look at the newest one after that one.... And So It Goes Sames ______________________________________________________________________ Samuel S. Shuster [|] VisualWorks Engineering, Store Project Smalltalk Enables Success -- What Are YOU Using? _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Holger Guhl
Thanks, that worked -- a bit slow but not bad.
Holger Guhl wrote: > You can get the info with Store UI tools. > (1) Use menu item VisualLauncher> Store> Browse Definitions> > Selector... and type in the name of the deleted method. > Alternatively, if you have an image that still holds this method, > select the method with a refactoring browser and use menu item "Store> > Browse Versions". Both procedures will bring up a Store version list > browser for the requested method. > (2) In this version browser, use menu item "Containing Packages...". > This will open a package version list browser showing all package > versions that ever held the deleted method. The list is sorted (don't > know which direction), so you can easily see the last version that > held the deleted method. > > Of course, this manual approach is appropriate for small lists of > methods. Just ask, if you need a database query for extensive search > for lots of methods. > Cheers > > Holger Guhl -- Dennis Smith +1 416.798.7948 Cherniak Software Development Corporation Fax: +1 416.798.0948 509-2001 Sheppard Avenue East [hidden email] Toronto, ON M2J 4Z8 sip:[hidden email] Canada http://www.CherniakSoftware.com Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |