A broken spoke will increase the tension on adjacent spokes. Replacing the broken spoke may relieve some of this tension but it may not relieve it all.
I ping the spokes and try to come to a compromise between tension and trueness.
Repairing a wheel is invariably a messier process than building from new with all new components.