示例#1
0
 def _create_branch(self):
     sha1 = self._clicked_item.commit.sha1
     createbranch.create_new_branch(revision=sha1)
示例#2
0
 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))
示例#3
0
 def branch_create(self):
     """Launch the 'Create Branch' dialog."""
     create_new_branch()