def git_id(crt_series, rev): """Return the GIT id """ # TODO: remove this function once all the occurrences were converted # to git_commit() repository = StackRepository.default() return git_commit(rev, repository, crt_series.name).sha1
def setup(self): # This will throw an exception if we don't have a repository. self.repository = StackRepository.default()
def default_repo(): return StackRepository.default()