If a developer commits changes including a new dir containing files, then reverts  via "checkout" command to an earlier UUID or another checkout without that new dir, the new dir's file are removed, but the empty directories remain.

It would be nice to see the source tree revert as closely as possible to its original state when the UUID was created, including dir structure.  It would be easier for the developer to keep clear just what's being worked on, if nothing else.

Perhaps as an option for the checkout command, if not the default.