support for exporting whole dirs at a given revision