optimize imports
Revision for bare commands defaults to LAST_CHANGED now.
simplify barebuild