Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

update: connect output signals to workbench

Changeset 17f464c3732d

Parent 1ddb37b1809c

by Steve Borho

Changes to 2 files · Browse files at 17f464c3732d Showing diff from parent 1ddb37b1809c Diff from another changeset...

 
565
566
567
 
 
 
568
569
570
 
565
566
567
568
569
570
571
572
573
@@ -565,6 +565,9 @@
    def updateToRevision(self):   dlg = update.UpdateDialog(self.rev, self.repo, self) + dlg.output.connect(self.output) + dlg.makeLogVisible.connect(self.makeLogVisible) + dlg.progress.connect(self.progress)   dlg.exec_()     def manifestRevision(self):
 
18
19
20
21
22
23
 
 
 
24
25
26
 
113
114
115
 
 
 
116
117
118
 
282
283
284
285
286
287
288
 
18
19
20
 
 
 
21
22
23
24
25
26
 
113
114
115
116
117
118
119
120
121
 
285
286
287
 
288
289
290
@@ -18,9 +18,9 @@
   class UpdateDialog(QDialog):   - cmdfinished = pyqtSignal( - int # status (0: succeeded, -1: failed) - ) + output = pyqtSignal(object) + progress = pyqtSignal(object) + makeLogVisible = pyqtSignal(bool)     def __init__(self, rev=None, repo=None, parent=None, opts={}):   super(UpdateDialog, self).__init__(parent) @@ -113,6 +113,9 @@
  self.cmd.commandStarted.connect(self.command_started)   self.cmd.commandFinished.connect(self.command_finished)   self.cmd.commandCanceling.connect(self.command_canceling) + self.cmd.output.connect(self.output) + self.cmd.makeLogVisible.connect(self.makeLogVisible) + self.cmd.progress.connect(self.progress)   box.addWidget(self.cmd)     ## bottom buttons @@ -282,7 +285,6 @@
  res = 0   else:   res = -1 - self.cmdfinished.emit(res)   if wrapper.data is not 0 or self.cmd.is_show_output():   self.detail_btn.setChecked(True)   self.close_btn.setShown(True)