(self, branch_name)
| 232 | str(e).replace('refs/heads/', '').replace('reference', 'branch')) |
| 233 | |
| 234 | def lookup_branch(self, branch_name): |
| 235 | git_branch = self.git_repo.lookup_branch( |
| 236 | branch_name, pygit2.GIT_BRANCH_LOCAL) |
| 237 | if git_branch: |
| 238 | return Branch(git_branch, self) |
| 239 | |
| 240 | def listall_branches(self): |
| 241 | """Return a list with the names of all the branches in this repository. |
no test coverage detected