def archive(self, prefix, ref='master'): result = archive_repository(self.repository.path, prefix, ref) return result['stdout']