getting vcs revisions for open file