def getTextLinesForRevisionFromUrl( self, url, rev_num ): all_content_lines = self.client().cat( url_or_path=url, revision=pysvn.Revision( pysvn.opt_revision_kind.number, rev_num ) ) all_content_lines = wb_read_file.contentsAsUnicode( all_content_lines ).split( '\n' ) return all_content_lines
def getTextLinesForRevision(self, revision): path = pathlib.Path(self.__project.projectPath()) / self.__filepath all_content_lines = self.__project.client().cat(url_or_path=str(path), revision=revision) all_content_lines = wb_read_file.contentsAsUnicode( all_content_lines).split('\n') return all_content_lines
def getTextLinesForRevision( self, revision ): path = pathlib.Path( self.__project.projectPath() ) / self.__filepath all_content_lines = self.__project.client().cat( url_or_path=str(path), revision=revision ) all_content_lines = wb_read_file.contentsAsUnicode( all_content_lines ).split( '\n' ) return all_content_lines