Fix create-mapping to take account of unembedded Item.rev. Fix dry run mode.