For many commands, applying changes to the working tree is done as the
last step after we commit the transaction (which apply only to the
internal state of a repo, not the working tree). Instead of catching
all exceptions here, we should only catch and report IO exceptions and
treat others, in particular any error calls, as a bug.
The following patch sent by Ben Franksen <email@example.com> updated issue issue2625 with
* resolve issue2625: catch only IO exceptions from applyToWorking