RepoRevSpec.RevPathComponent
make ComputeStats take a rev
add Stats back to Repository