get revisions base dir improved and get total number of revisions first implementation
more performance hints added