replace cat with hg cat to get bytes_per_card for different revisions