Where is the damage? I consider bikes with the telltale bulge under the DT behind the head lug to be suitable only as garbage or wall decor. It might not break, but they can and do break if damaged like that. Not worth the risk to your neck.
I might consider a bike with a bent and repaired stay as a commuter or something, but only if it is sold at a huge discount.