def _create_branch(self): sha1 = self._clicked_item.commit.sha1 createbranch.create_new_branch(revision=sha1)
def create_branch_at(self): row, selected = qtutils.selected_row(self.view.commit_list) if not selected: return create_new_branch(self.orig_model, self.view, revision=self.model.revision_sha1(row))
def branch_create(self): """Launch the 'Create Branch' dialog.""" create_new_branch()