[WIP] Get refactoring of LegacyTool, Tool, and Repository to pass all tests (hostingsvcs, webapi etc)
Review Request #9699 — Created Feb. 24, 2018 and discarded — Latest diff uploaded
Getting SCM tests refactoring to pass tests in hostingsvcs,
webapi and so on.The new Tool model works, and does not inherit from models.Model.
Renamed usages of tool to _legacy_tool