When did navies begin relying on purpose-built repair ships, and why were they uncommon in peacetime?
Short answerThey became important mainly during the Second World War; in peacetime, onboard workshops, depot ships, and shore bases were usually cheaper substitutes.
NotesNavies began building many true purpose-built repair ships during the Second World War. Cruisers and larger ships already carried extensive workshops, while destroyers and submarines normally drew support from depot ships. Land bases could provide any remaining facilities more cheaply during peacetime. A specialist hull therefore needed wartime distance, workload, and an identifiable enemy to justify its cost within the national budget.