Right now if you repair a data source by clicking the [!] in the TOC you cannot undo this operation. Sometimes you choose the wrong source, and it would be easier to Ctrl+Z, click it again, choose the source, and click OK than to double click > source > change data source > choose the source > ok > ok.
By comparison, the latter method does appear in the undo stack as 'update layer.'
