add RevInfo, encapsulate some function for returning repository basic
infomation in RepositoryAccess