In current usage it's unlikely that revs.count === 0 but in general case (i.e. if we're going to try to compact after every write) we'd better check for this condition and call callback immediately if it holds.