91
91
"""The shared repository object."""
92
92
return repository.Repository.open(self.repo_location)
94
113
def branch_names(self, all=True):
95
114
"""A generator of the names of the branches."""
96
115
current_name = self.current_branch_name()
97
116
for b in self.branches():
98
117
name = self._name_from_branch(b)
99
118
if not all and name != current_name: