Esempio n. 1
0
 def export_patch(self):
     widget = self.commit_list
     row, selected = qtutils.selected_row(widget)
     if not selected or len(self.results) < row:
         return
     revision = self.results[row][0]
     Interaction.log_status(*gitcmds.export_patchset(revision, revision))
Esempio n. 2
0
 def export_patch(self):
     widget = self.commit_list
     row, selected = qtutils.selected_row(widget)
     if not selected or len(self.results) < row:
         return
     revision = self.results[row][0]
     Interaction.log_status(*gitcmds.export_patchset(revision, revision))
Esempio n. 3
0
 def export_patch(self):
     revision = self.selected_revision()
     if revision is not None:
         Interaction.log_status(
             *gitcmds.export_patchset(revision, revision))
Esempio n. 4
0
 def export_patch(self):
     revision = self.selected_revision()
     if revision is not None:
         Interaction.log_status(*gitcmds.export_patchset(revision,
                                                         revision))