117
125
remote_dir = controldir.ControlDir.open(git_url_to_bzr_url(remote_repo.ssh_url))
118
126
push_result = remote_dir.push_branch(local_branch, revision_id=revision_id,
119
127
overwrite=overwrite, name=name)
123
131
def get_push_url(self, branch):
124
132
owner, project, branch_name = parse_github_url(branch)
125
133
repo = self.gh.get_repo('%s/%s' % (owner, project))
129
136
def get_derived_branch(self, base_branch, name, project=None, owner=None):