119
120
get_repository_transport = get_branch_transport
120
121
get_workingtree_transport = get_branch_transport
123
def open_branch(self, name=None, ignore_fallbacks=None, unsupported=False):
123
def _open_branch(self, name=None, ignore_fallbacks=None,
124
125
"""'create' a branch for this dir."""
125
126
repo = self.open_repository()
126
127
from bzrlib.plugins.git.branch import LocalGitBranch
127
128
return LocalGitBranch(self, repo, self._branch_name_to_ref(name),
130
138
def destroy_branch(self, name=None):
131
139
del self._git.refs[self._branch_name_to_ref(name)]